Class JEESessionStore

java.lang.Object
org.pac4j.jee.context.session.JEESessionStore
All Implemented Interfaces:
org.pac4j.core.context.session.SessionStore

@Deprecated public class JEESessionStore extends Object implements org.pac4j.core.context.session.SessionStore
Deprecated.
Store data in the JEE web session. You should upgrade to the new pac4j-jakartaee module.
Since:
1.8.1
Author:
Jerome Leleu
  • Field Details

    • INSTANCE

      public static final JEESessionStore INSTANCE
      Deprecated.
    • httpSession

      protected javax.servlet.http.HttpSession httpSession
      Deprecated.
  • Constructor Details

    • JEESessionStore

      protected JEESessionStore()
      Deprecated.
    • JEESessionStore

      protected JEESessionStore(javax.servlet.http.HttpSession httpSession)
      Deprecated.
  • Method Details

    • getNativeSession

      protected Optional<javax.servlet.http.HttpSession> getNativeSession(org.pac4j.core.context.WebContext context, boolean createSession)
      Deprecated.
    • getSessionId

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

      public Optional<Object> get(org.pac4j.core.context.WebContext context, String key)
      Deprecated.
      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)
      Deprecated.
      Specified by:
      set in interface org.pac4j.core.context.session.SessionStore
    • destroySession

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

      public Optional<Object> getTrackableSession(org.pac4j.core.context.WebContext context)
      Deprecated.
      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)
      Deprecated.
      Specified by:
      buildFromTrackableSession in interface org.pac4j.core.context.session.SessionStore
    • renewSession

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