public class FRQSessionStore extends Object implements org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>
Constructor and Description |
---|
FRQSessionStore(FRQSession frqSession) |
Modifier and Type | Method and Description |
---|---|
Optional<org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>> |
buildFromTrackableSession(org.pac4j.core.context.JEEContext context,
Object trackableSession) |
boolean |
destroySession(org.pac4j.core.context.JEEContext context) |
Optional<Object> |
get(org.pac4j.core.context.JEEContext context,
String key) |
String |
getOrCreateSessionId(org.pac4j.core.context.JEEContext context) |
Optional<Object> |
getTrackableSession(org.pac4j.core.context.JEEContext context) |
boolean |
renewSession(org.pac4j.core.context.JEEContext context) |
void |
set(org.pac4j.core.context.JEEContext context,
String key,
Object value) |
public FRQSessionStore(FRQSession frqSession)
frqSession
- the FRQSession
public String getOrCreateSessionId(org.pac4j.core.context.JEEContext context)
getOrCreateSessionId
in interface org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>
public Optional<Object> get(org.pac4j.core.context.JEEContext context, String key)
get
in interface org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>
public void set(org.pac4j.core.context.JEEContext context, String key, Object value)
set
in interface org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>
public boolean destroySession(org.pac4j.core.context.JEEContext context)
destroySession
in interface org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>
public Optional<Object> getTrackableSession(org.pac4j.core.context.JEEContext context)
getTrackableSession
in interface org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>
public Optional<org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>> buildFromTrackableSession(org.pac4j.core.context.JEEContext context, Object trackableSession)
buildFromTrackableSession
in interface org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>
public boolean renewSession(org.pac4j.core.context.JEEContext context)
renewSession
in interface org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.