Class DistributedJEESessionStore

java.lang.Object
org.apereo.cas.pac4j.DistributedJEESessionStore
All Implemented Interfaces:
org.pac4j.core.context.session.SessionStore

public class DistributedJEESessionStore extends Object implements org.pac4j.core.context.session.SessionStore
Since:
6.1.0
  • Field Details

    • DEFAULT_BEAN_NAME

      public static final String DEFAULT_BEAN_NAME
      Default session store implementation bean.
      See Also:
  • Constructor Details

    • DistributedJEESessionStore

      public DistributedJEESessionStore()
  • Method Details

    • getSessionId

      public Optional<String> getSessionId(org.pac4j.core.context.WebContext webContext, boolean create)
      Specified by:
      getSessionId in interface org.pac4j.core.context.session.SessionStore
    • get

      public Optional get(org.pac4j.core.context.WebContext context, String key)
      Specified by:
      get in interface org.pac4j.core.context.session.SessionStore
    • set

      public void set(org.pac4j.core.context.WebContext context, String key, Object value)
      Specified by:
      set in interface org.pac4j.core.context.session.SessionStore
    • destroySession

      public boolean destroySession(org.pac4j.core.context.WebContext webContext)
      Specified by:
      destroySession in interface org.pac4j.core.context.session.SessionStore
    • getTrackableSession

      public Optional getTrackableSession(org.pac4j.core.context.WebContext context)
      Specified by:
      getTrackableSession in interface org.pac4j.core.context.session.SessionStore
    • buildFromTrackableSession

      public Optional<org.pac4j.core.context.session.SessionStore> buildFromTrackableSession(org.pac4j.core.context.WebContext context, Object trackableSession)
      Specified by:
      buildFromTrackableSession in interface org.pac4j.core.context.session.SessionStore
    • renewSession

      public boolean renewSession(org.pac4j.core.context.WebContext context)
      Specified by:
      renewSession in interface org.pac4j.core.context.session.SessionStore
    • fetchSessionIdFromContext

      protected String fetchSessionIdFromContext(org.pac4j.core.context.WebContext webContext)