Package de.xima.fc.web.common.auth
Class FRQSessionStore
- java.lang.Object
-
- de.xima.fc.web.common.auth.FRQSessionStore
-
- All Implemented Interfaces:
org.pac4j.core.context.session.SessionStore
public class FRQSessionStore extends Object implements org.pac4j.core.context.session.SessionStore
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description FRQSessionStore(FRQSession frqSession)
-
Method Summary
All 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)
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)
-
-
-
Constructor Detail
-
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
-
-