@Singleton public class PlayCookieSessionStore extends Object implements PlaySessionStore
| Modifier and Type | Field and Description |
|---|---|
static org.pac4j.core.util.JavaSerializationHelper |
JAVA_SER_HELPER |
| Constructor and Description |
|---|
PlayCookieSessionStore() |
PlayCookieSessionStore(DataEncrypter dataEncrypter) |
| Modifier and Type | Method and Description |
|---|---|
org.pac4j.core.context.session.SessionStore<PlayWebContext> |
buildFromTrackableSession(PlayWebContext playWebContext,
Object o) |
protected Object |
clearUserProfiles(Object value) |
static byte[] |
compressBytes(byte[] srcBytes) |
boolean |
destroySession(PlayWebContext playWebContext) |
Object |
get(PlayWebContext context,
String key) |
String |
getOrCreateSessionId(PlayWebContext context) |
Object |
getTrackableSession(PlayWebContext playWebContext) |
boolean |
renewSession(PlayWebContext playWebContext) |
void |
set(PlayWebContext context,
String key,
Object value) |
static byte[] |
uncompressBytes(byte[] zippedBytes) |
public static final org.pac4j.core.util.JavaSerializationHelper JAVA_SER_HELPER
public PlayCookieSessionStore()
public PlayCookieSessionStore(DataEncrypter dataEncrypter)
public String getOrCreateSessionId(PlayWebContext context)
getOrCreateSessionId in interface org.pac4j.core.context.session.SessionStore<PlayWebContext>public Object get(PlayWebContext context, String key)
get in interface org.pac4j.core.context.session.SessionStore<PlayWebContext>public void set(PlayWebContext context, String key, Object value)
set in interface org.pac4j.core.context.session.SessionStore<PlayWebContext>public boolean destroySession(PlayWebContext playWebContext)
destroySession in interface org.pac4j.core.context.session.SessionStore<PlayWebContext>public Object getTrackableSession(PlayWebContext playWebContext)
getTrackableSession in interface org.pac4j.core.context.session.SessionStore<PlayWebContext>public org.pac4j.core.context.session.SessionStore<PlayWebContext> buildFromTrackableSession(PlayWebContext playWebContext, Object o)
buildFromTrackableSession in interface org.pac4j.core.context.session.SessionStore<PlayWebContext>public boolean renewSession(PlayWebContext playWebContext)
renewSession in interface org.pac4j.core.context.session.SessionStore<PlayWebContext>public static byte[] uncompressBytes(byte[] zippedBytes)
public static byte[] compressBytes(byte[] srcBytes)
Copyright © 2019. All rights reserved.