Package org.nuxeo.ecm.webengine.login
Class WebEngineSessionManager
java.lang.Object
org.nuxeo.ecm.platform.ui.web.auth.plugins.DefaultSessionManager
org.nuxeo.ecm.webengine.login.WebEngineSessionManager
- All Implemented Interfaces:
NuxeoAuthenticationSessionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBypassRequest(jakarta.servlet.ServletRequest request) Returns true if request does not require to be authenticated.booleanneedResetLogin(jakarta.servlet.ServletRequest req) Checks whether or not this request was made to perform login.voidonAuthenticatedSessionCreated(jakarta.servlet.ServletRequest request, jakarta.servlet.http.HttpSession httpSession, CachableUserIdentificationInfo cachableUserInfo) CallBack for session creationMethods inherited from class org.nuxeo.ecm.platform.ui.web.auth.plugins.DefaultSessionManager
invalidateSession, onAfterSessionReinit, onBeforeSessionReinit
-
Constructor Details
-
WebEngineSessionManager
public WebEngineSessionManager()
-
-
Method Details
-
canBypassRequest
public boolean canBypassRequest(jakarta.servlet.ServletRequest request) Description copied from interface:NuxeoAuthenticationSessionManagerReturns true if request does not require to be authenticated.- Specified by:
canBypassRequestin interfaceNuxeoAuthenticationSessionManager- Overrides:
canBypassRequestin classDefaultSessionManager
-
onAuthenticatedSessionCreated
public void onAuthenticatedSessionCreated(jakarta.servlet.ServletRequest request, jakarta.servlet.http.HttpSession httpSession, CachableUserIdentificationInfo cachableUserInfo) Description copied from interface:NuxeoAuthenticationSessionManagerCallBack for session creation- Specified by:
onAuthenticatedSessionCreatedin interfaceNuxeoAuthenticationSessionManager- Overrides:
onAuthenticatedSessionCreatedin classDefaultSessionManager
-
needResetLogin
public boolean needResetLogin(jakarta.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- Overrides:
needResetLoginin classDefaultSessionManager
-