Package org.pac4j.jee.context.session
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
FieldsModifier and TypeFieldDescriptionprotected javax.servlet.http.HttpSessionDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructor for JEESessionStore.JEESessionStore(javax.servlet.http.HttpSession httpSession) Deprecated.Constructor for JEESessionStore. -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.pac4j.core.context.session.SessionStore> buildFromTrackableSession(org.pac4j.core.context.WebContext context, Object trackableSession) Deprecated.booleandestroySession(org.pac4j.core.context.WebContext context) Deprecated.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.booleanrenewSession(org.pac4j.core.context.WebContext context) Deprecated.voidDeprecated.Methods inherited from class org.pac4j.core.context.session.PrefixedSessionStore
computePrefixedKey, getPrefix, setPrefix
-
Field Details
-
httpSession
protected javax.servlet.http.HttpSession httpSessionDeprecated.
-
-
Constructor Details
-
JEESessionStore
public JEESessionStore()Deprecated.Constructor for JEESessionStore.
-
JEESessionStore
public JEESessionStore(javax.servlet.http.HttpSession httpSession) Deprecated.Constructor for JEESessionStore.
- Parameters:
httpSession- aHttpSessionobject
-
-
Method Details
-
getNativeSession
protected Optional<javax.servlet.http.HttpSession> getNativeSession(org.pac4j.core.context.WebContext context, boolean createSession) Deprecated.getNativeSession.
- Parameters:
context- aWebContextobjectcreateSession- a boolean- Returns:
- a
Optionalobject
-
getSessionId
public Optional<String> getSessionId(org.pac4j.core.context.WebContext context, boolean createSession) Deprecated. -
get
Deprecated. -
set
Deprecated. -
destroySession
public boolean destroySession(org.pac4j.core.context.WebContext context) Deprecated. -
getTrackableSession
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.
-