Package de.xima.fc.session
Class FRQSessionStore
- java.lang.Object
-
- de.xima.fc.session.FRQSessionStore
-
- All Implemented Interfaces:
org.pac4j.core.context.session.SessionStore
- Direct Known Subclasses:
FRQSessionStore
public class FRQSessionStore extends Object implements org.pac4j.core.context.session.SessionStore
Pac4jSessionStore
implementation forFRQSession
s- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static FRQSessionStore
INSTANCE
-
Constructor Summary
Constructors Constructor Description FRQSessionStore()
FRQSessionStore(FRQSession frqSession)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<org.pac4j.core.context.session.SessionStore>
buildFromTrackableSession(org.pac4j.core.context.WebContext context, Object trackableSession)
boolean
destroySession(org.pac4j.core.context.WebContext context)
Optional<Object>
get(org.pac4j.core.context.WebContext context, String key)
static FRQSession
getSession(javax.servlet.http.HttpServletRequest req)
Optional<String>
getSessionId(org.pac4j.core.context.WebContext context, boolean createSession)
Optional<Object>
getTrackableSession(org.pac4j.core.context.WebContext context)
boolean
renewSession(org.pac4j.core.context.WebContext context)
void
set(org.pac4j.core.context.WebContext context, String key, Object value)
-
-
-
Field Detail
-
INSTANCE
public static final FRQSessionStore INSTANCE
-
-
Constructor Detail
-
FRQSessionStore
public FRQSessionStore()
-
FRQSessionStore
public FRQSessionStore(FRQSession frqSession)
- Parameters:
frqSession
- theFRQSession
-
-
Method Detail
-
getSessionId
public Optional<String> getSessionId(org.pac4j.core.context.WebContext context, boolean createSession)
- Specified by:
getSessionId
in interfaceorg.pac4j.core.context.session.SessionStore
-
get
public Optional<Object> get(org.pac4j.core.context.WebContext context, String key)
- Specified by:
get
in interfaceorg.pac4j.core.context.session.SessionStore
-
set
public void set(org.pac4j.core.context.WebContext context, String key, Object value)
- Specified by:
set
in interfaceorg.pac4j.core.context.session.SessionStore
-
destroySession
public boolean destroySession(org.pac4j.core.context.WebContext context)
- Specified by:
destroySession
in interfaceorg.pac4j.core.context.session.SessionStore
-
getTrackableSession
public Optional<Object> getTrackableSession(org.pac4j.core.context.WebContext context)
- Specified by:
getTrackableSession
in interfaceorg.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 interfaceorg.pac4j.core.context.session.SessionStore
-
renewSession
public boolean renewSession(org.pac4j.core.context.WebContext context)
- Specified by:
renewSession
in interfaceorg.pac4j.core.context.session.SessionStore
-
getSession
public static FRQSession getSession(javax.servlet.http.HttpServletRequest req)
-
-