Class DefaultSessionManager
java.lang.Object
org.nuxeo.ecm.platform.ui.web.auth.plugins.DefaultSessionManager
- All Implemented Interfaces:
NuxeoAuthenticationSessionManager
- Direct Known Subclasses:
SAMLSessionManager,WebEngineSessionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBypassRequest(javax.servlet.ServletRequest request) Returns true if request does not require to be authenticated.booleaninvalidateSession(javax.servlet.ServletRequest request) May invalidates the session.booleanneedResetLogin(javax.servlet.ServletRequest req) Checks whether or not this request was made to perform login.voidonAfterSessionReinit(javax.servlet.ServletRequest request) CallBack after SessionReinit.voidonAuthenticatedSessionCreated(javax.servlet.ServletRequest request, javax.servlet.http.HttpSession session, CachableUserIdentificationInfo cachableUserInfo) CallBack for session creationvoidonBeforeSessionReinit(javax.servlet.ServletRequest request) CallBack before SessionReinit.
-
Constructor Details
-
DefaultSessionManager
public DefaultSessionManager()
-
-
Method Details
-
canBypassRequest
public boolean canBypassRequest(javax.servlet.ServletRequest request) Description copied from interface:NuxeoAuthenticationSessionManagerReturns true if request does not require to be authenticated.- Specified by:
canBypassRequestin interfaceNuxeoAuthenticationSessionManager
-
invalidateSession
public boolean invalidateSession(javax.servlet.ServletRequest request) Description copied from interface:NuxeoAuthenticationSessionManagerMay invalidates the session. Return true is the session was invalidated.- Specified by:
invalidateSessionin interfaceNuxeoAuthenticationSessionManager
-
onAfterSessionReinit
public void onAfterSessionReinit(javax.servlet.ServletRequest request) Description copied from interface:NuxeoAuthenticationSessionManagerCallBack after SessionReinit.- Specified by:
onAfterSessionReinitin interfaceNuxeoAuthenticationSessionManager
-
onAuthenticatedSessionCreated
public void onAuthenticatedSessionCreated(javax.servlet.ServletRequest request, javax.servlet.http.HttpSession session, CachableUserIdentificationInfo cachableUserInfo) Description copied from interface:NuxeoAuthenticationSessionManagerCallBack for session creation- Specified by:
onAuthenticatedSessionCreatedin interfaceNuxeoAuthenticationSessionManager
-
onBeforeSessionReinit
public void onBeforeSessionReinit(javax.servlet.ServletRequest request) Description copied from interface:NuxeoAuthenticationSessionManagerCallBack before SessionReinit.- Specified by:
onBeforeSessionReinitin interfaceNuxeoAuthenticationSessionManager
-
needResetLogin
public boolean needResetLogin(javax.servlet.ServletRequest req) Description copied from interface:NuxeoAuthenticationSessionManagerChecks 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:
needResetLoginin interfaceNuxeoAuthenticationSessionManager
-