Interface NuxeoAuthenticationSessionManager

All Known Implementing Classes:
DefaultSessionManager, WebEngineSessionManager

public interface NuxeoAuthenticationSessionManager
SessionManager interface for Authentication Filter.
Author:
tiry
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canBypassRequest(javax.servlet.ServletRequest request)
    Returns true if request does not require to be authenticated.
    boolean
    invalidateSession(javax.servlet.ServletRequest request)
    May invalidates the session.
    boolean
    needResetLogin(javax.servlet.ServletRequest req)
    Checks whether or not this request was made to perform login.
    void
    onAfterSessionReinit(javax.servlet.ServletRequest request)
    CallBack after SessionReinit.
    void
    onAuthenticatedSessionCreated(javax.servlet.ServletRequest request, javax.servlet.http.HttpSession session, CachableUserIdentificationInfo cachebleUserInfo)
    CallBack for session creation
    void
    onBeforeSessionReinit(javax.servlet.ServletRequest request)
    CallBack before SessionReinit.
  • Method Details

    • needResetLogin

      boolean needResetLogin(javax.servlet.ServletRequest req)
      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.
    • canBypassRequest

      boolean canBypassRequest(javax.servlet.ServletRequest request)
      Returns true if request does not require to be authenticated.
    • invalidateSession

      boolean invalidateSession(javax.servlet.ServletRequest request)
      May invalidates the session. Return true is the session was invalidated.
    • onBeforeSessionReinit

      void onBeforeSessionReinit(javax.servlet.ServletRequest request)
      CallBack before SessionReinit.
    • onAfterSessionReinit

      void onAfterSessionReinit(javax.servlet.ServletRequest request)
      CallBack after SessionReinit.
    • onAuthenticatedSessionCreated

      void onAuthenticatedSessionCreated(javax.servlet.ServletRequest request, javax.servlet.http.HttpSession session, CachableUserIdentificationInfo cachebleUserInfo)
      CallBack for session creation