Class JEESessionStore

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

@Deprecated public class JEESessionStore extends org.pac4j.core.context.session.PrefixedSessionStore
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 Summary

    Fields
    Modifier and Type
    Field
    Description
    protected javax.servlet.http.HttpSession
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Constructor for JEESessionStore.
    JEESessionStore(javax.servlet.http.HttpSession httpSession)
    Deprecated.
    Constructor for JEESessionStore.
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.pac4j.core.context.session.SessionStore>
    buildFromTrackableSession(org.pac4j.core.context.WebContext context, Object trackableSession)
    Deprecated.
    boolean
    destroySession(org.pac4j.core.context.WebContext context)
    Deprecated.
    get(org.pac4j.core.context.WebContext context, String key)
    Deprecated.
    protected Optional<javax.servlet.http.HttpSession>
    getNativeSession(org.pac4j.core.context.WebContext context, boolean createSession)
    Deprecated.
    getNativeSession.
    getSessionId(org.pac4j.core.context.WebContext context, boolean createSession)
    Deprecated.
    getTrackableSession(org.pac4j.core.context.WebContext context)
    Deprecated.
    boolean
    renewSession(org.pac4j.core.context.WebContext context)
    Deprecated.
    void
    set(org.pac4j.core.context.WebContext context, String key, Object value)
    Deprecated.

    Methods inherited from class org.pac4j.core.context.session.PrefixedSessionStore

    computePrefixedKey, getPrefix, setPrefix

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • httpSession

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

    • JEESessionStore

      public JEESessionStore()
      Deprecated.

      Constructor for JEESessionStore.

    • JEESessionStore

      public JEESessionStore(javax.servlet.http.HttpSession httpSession)
      Deprecated.

      Constructor for JEESessionStore.

      Parameters:
      httpSession - a HttpSession object
  • Method Details

    • getNativeSession

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

      getNativeSession.

      Parameters:
      context - a WebContext object
      createSession - a boolean
      Returns:
      a Optional object
    • getSessionId

      public Optional<String> getSessionId(org.pac4j.core.context.WebContext context, boolean createSession)
      Deprecated.
    • get

      public Optional<Object> get(org.pac4j.core.context.WebContext context, String key)
      Deprecated.
    • set

      public void set(org.pac4j.core.context.WebContext context, String key, Object value)
      Deprecated.
    • destroySession

      public boolean destroySession(org.pac4j.core.context.WebContext context)
      Deprecated.
    • getTrackableSession

      public Optional<Object> getTrackableSession(org.pac4j.core.context.WebContext context)
      Deprecated.
    • buildFromTrackableSession

      public Optional<org.pac4j.core.context.session.SessionStore> buildFromTrackableSession(org.pac4j.core.context.WebContext context, Object trackableSession)
      Deprecated.
    • renewSession

      public boolean renewSession(org.pac4j.core.context.WebContext context)
      Deprecated.