Package org.apereo.cas.pac4j
Class BrowserWebStorageSessionStore
java.lang.Object
org.pac4j.core.context.session.PrefixedSessionStore
org.pac4j.jee.context.session.JEESessionStore
org.apereo.cas.pac4j.BrowserWebStorageSessionStore
- All Implemented Interfaces:
org.pac4j.core.context.session.SessionStore
public class BrowserWebStorageSessionStore
extends org.pac4j.jee.context.session.JEESessionStore
This is
BrowserWebStorageSessionStore.- Since:
- 6.4.0
-
Constructor Summary
ConstructorsConstructorDescriptionBrowserWebStorageSessionStore(org.apereo.cas.util.crypto.CipherExecutor webflowCipherExecutor, String browserStorageContextKey) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.pac4j.core.context.session.SessionStore> buildFromTrackableSession(org.pac4j.core.context.WebContext context, Object trackableSession) getSessionAttributes(org.pac4j.core.context.WebContext context) Gets session attributes.getTrackableSession(org.pac4j.core.context.WebContext context) org.apereo.cas.util.crypto.CipherExecutororg.pac4j.core.context.session.SessionStorewithSessionAttributes(org.pac4j.core.context.WebContext context, Map<String, Object> properties) Set session attributes for session store.Methods inherited from class org.pac4j.jee.context.session.JEESessionStore
destroySession, get, getSessionId, renewSession, set, toStringMethods inherited from class org.pac4j.core.context.session.PrefixedSessionStore
computePrefixedKey, getPrefix, setPrefix
-
Constructor Details
-
BrowserWebStorageSessionStore
public BrowserWebStorageSessionStore(org.apereo.cas.util.crypto.CipherExecutor webflowCipherExecutor, String browserStorageContextKey)
-
-
Method Details
-
getTrackableSession
- Specified by:
getTrackableSessionin interfaceorg.pac4j.core.context.session.SessionStore- Overrides:
getTrackableSessionin classorg.pac4j.jee.context.session.JEESessionStore
-
buildFromTrackableSession
public Optional<org.pac4j.core.context.session.SessionStore> buildFromTrackableSession(org.pac4j.core.context.WebContext context, Object trackableSession) - Specified by:
buildFromTrackableSessionin interfaceorg.pac4j.core.context.session.SessionStore- Overrides:
buildFromTrackableSessionin classorg.pac4j.jee.context.session.JEESessionStore
-
getSessionAttributes
Gets session attributes.- Parameters:
context- the context- Returns:
- the session attributes
-
withSessionAttributes
@CanIgnoreReturnValue public org.pac4j.core.context.session.SessionStore withSessionAttributes(org.pac4j.core.context.WebContext context, Map<String, Object> properties) Set session attributes for session store.- Parameters:
context- the contextproperties- the properties- Returns:
- the session store
-
getWebflowCipherExecutor
public org.apereo.cas.util.crypto.CipherExecutor getWebflowCipherExecutor() -
getBrowserStorageContextKey
-