Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.auth.plugins
Class DefaultSessionManager

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.auth.plugins.DefaultSessionManager
All Implemented Interfaces:
NuxeoAuthenticationSessionManager
Direct Known Subclasses:
SeamJsfSessionManager, WebEngineSessionManager

public class DefaultSessionManager
extends Object
implements NuxeoAuthenticationSessionManager


Constructor Summary
DefaultSessionManager()
           
 
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 onAfterSessionReinit(ServletRequest request)
          CallBack after SessionReinit.
 void onAuthenticatedSessionCreated(ServletRequest request, HttpSession session, CachableUserIdentificationInfo cachableUserInfo)
          CallBack for session creation
 void onBeforeSessionInvalidate(ServletRequest request)
          CallBack to clean up web session associated resources.
 void onBeforeSessionReinit(ServletRequest request)
          CallBack before SessionReinit.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSessionManager

public DefaultSessionManager()
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

onBeforeSessionInvalidate

public void onBeforeSessionInvalidate(ServletRequest request)
Description copied from interface: NuxeoAuthenticationSessionManager
CallBack to clean up web session associated resources.

Specified by:
onBeforeSessionInvalidate in interface NuxeoAuthenticationSessionManager

onAfterSessionReinit

public void onAfterSessionReinit(ServletRequest request)
Description copied from interface: NuxeoAuthenticationSessionManager
CallBack after SessionReinit.

Specified by:
onAfterSessionReinit in interface NuxeoAuthenticationSessionManager

onAuthenticatedSessionCreated

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

Specified by:
onAuthenticatedSessionCreated in interface NuxeoAuthenticationSessionManager

onBeforeSessionReinit

public void onBeforeSessionReinit(ServletRequest request)
Description copied from interface: NuxeoAuthenticationSessionManager
CallBack before SessionReinit.

Specified by:
onBeforeSessionReinit in interface NuxeoAuthenticationSessionManager

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.