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 boolean
canBypassRequest(javax.servlet.ServletRequest request)
Returns true if request does not require to be authenticated.boolean
needResetLogin(javax.servlet.ServletRequest req)
Checks whether or not this request was made to perform login.void
onAuthenticatedSessionCreated(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:NuxeoAuthenticationSessionManager
Returns true if request does not require to be authenticated.- Specified by:
canBypassRequest
in interfaceNuxeoAuthenticationSessionManager
- Overrides:
canBypassRequest
in classDefaultSessionManager
-
onAuthenticatedSessionCreated
public void onAuthenticatedSessionCreated(javax.servlet.ServletRequest request, javax.servlet.http.HttpSession httpSession, CachableUserIdentificationInfo cachableUserInfo)
Description copied from interface:NuxeoAuthenticationSessionManager
CallBack for session creation- Specified by:
onAuthenticatedSessionCreated
in interfaceNuxeoAuthenticationSessionManager
- Overrides:
onAuthenticatedSessionCreated
in classDefaultSessionManager
-
needResetLogin
public boolean needResetLogin(javax.servlet.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 interfaceNuxeoAuthenticationSessionManager
- Overrides:
needResetLogin
in classDefaultSessionManager
-
-