Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.login
Class WebEngineSessionManager

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.auth.plugins.DefaultSessionManager
      extended by org.nuxeo.ecm.webengine.login.WebEngineSessionManager
All Implemented Interfaces:
NuxeoAuthenticationSessionManager

public class WebEngineSessionManager
extends DefaultSessionManager


Constructor Summary
WebEngineSessionManager()
           
 
Method Summary
 boolean canBypassRequest(ServletRequest request)
          Returns true if request does not require to be authenticated.
 boolean needResetLogin(ServletRequest req)
          Checks whether or not this request was made to perform login.
 void onAuthenticatedSessionCreated(ServletRequest request, HttpSession httpSession, CachableUserIdentificationInfo cachableUserInfo)
          CallBack for session creation
 
Methods inherited from class org.nuxeo.ecm.platform.ui.web.auth.plugins.DefaultSessionManager
onAfterSessionReinit, onBeforeSessionInvalidate, onBeforeSessionReinit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebEngineSessionManager

public WebEngineSessionManager()
Method Detail

canBypassRequest

public boolean canBypassRequest(ServletRequest request)
Description copied from interface: NuxeoAuthenticationSessionManager
Returns true if request does not require to be authenticated.

Specified by:
canBypassRequest in interface NuxeoAuthenticationSessionManager
Overrides:
canBypassRequest in class DefaultSessionManager

onAuthenticatedSessionCreated

public void onAuthenticatedSessionCreated(ServletRequest request,
                                          HttpSession httpSession,
                                          CachableUserIdentificationInfo cachableUserInfo)
Description copied from interface: NuxeoAuthenticationSessionManager
CallBack for session creation

Specified by:
onAuthenticatedSessionCreated in interface NuxeoAuthenticationSessionManager
Overrides:
onAuthenticatedSessionCreated in class DefaultSessionManager

needResetLogin

public boolean needResetLogin(ServletRequest req)
Description copied from interface: NuxeoAuthenticationSessionManager
Checks whether or not this request was made to perform login. This is tested by the authentication filter to decide if a switch user is needed.

Specified by:
needResetLogin in interface NuxeoAuthenticationSessionManager
Overrides:
needResetLogin in class DefaultSessionManager

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.