public class SessionStore extends java.lang.Object implements IAuthEnforcer.ISessionStore
Modifier and Type | Class and Description |
---|---|
static class |
SessionStore.SidData |
class |
SessionStore.SidDataNotFound |
Constructor and Description |
---|
SessionStore() |
Modifier and Type | Method and Description |
---|---|
void |
addAuthEnforcers(java.util.List<IAuthEnforcer> authEnforcers) |
void |
checkAll() |
void |
checked(java.lang.String sessionId) |
void |
cleanUp() |
java.lang.String |
getOrAllocateCookie(java.lang.String sessionId,
IAuthEnforcer.IAuthProtocol protocol) |
IAuthEnforcer.IAuthProtocol |
getProtocol(java.lang.String sessionId) |
java.lang.String |
getSessionId(java.lang.String cookie) |
boolean |
needCheck(java.lang.String sessionId)
Is sessionId must be validated with core
|
java.lang.String |
newSession(java.lang.String providerSession,
IAuthEnforcer.IAuthProtocol protocol) |
void |
purgeSession(java.lang.String sessionId) |
public void addAuthEnforcers(java.util.List<IAuthEnforcer> authEnforcers)
public java.lang.String getOrAllocateCookie(java.lang.String sessionId, IAuthEnforcer.IAuthProtocol protocol)
public java.lang.String getSessionId(java.lang.String cookie)
getSessionId
in interface IAuthEnforcer.ISessionStore
public void purgeSession(java.lang.String sessionId)
public java.lang.String newSession(java.lang.String providerSession, IAuthEnforcer.IAuthProtocol protocol)
newSession
in interface IAuthEnforcer.ISessionStore
public IAuthEnforcer.IAuthProtocol getProtocol(java.lang.String sessionId)
getProtocol
in interface IAuthEnforcer.ISessionStore
public boolean needCheck(java.lang.String sessionId)
IAuthEnforcer.ISessionStore
needCheck
in interface IAuthEnforcer.ISessionStore
public void checkAll()
public void checked(java.lang.String sessionId)
checked
in interface IAuthEnforcer.ISessionStore
public void cleanUp()
Copyright © 2021. All Rights Reserved.