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
public class WebEngineSessionManager extends DefaultSessionManager
-
-
Constructor Summary
Constructors Constructor Description WebEngineSessionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanBypassRequest(javax.servlet.ServletRequest request)Returns true if request does not require to be authenticated.booleanneedResetLogin(javax.servlet.ServletRequest req)Checks whether or not this request was made to perform login.voidonAuthenticatedSessionCreated(javax.servlet.ServletRequest request, javax.servlet.http.HttpSession httpSession, CachableUserIdentificationInfo cachableUserInfo)CallBack for session creation-
Methods inherited from class org.nuxeo.ecm.platform.ui.web.auth.plugins.DefaultSessionManager
invalidateSession, onAfterSessionReinit, onBeforeSessionReinit
-
-
-
-
Method Detail
-
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- Overrides:
canBypassRequestin classDefaultSessionManager
-
onAuthenticatedSessionCreated
public void onAuthenticatedSessionCreated(javax.servlet.ServletRequest request, javax.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(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- Overrides:
needResetLoginin classDefaultSessionManager
-
-