public class SessionStore extends java.lang.Object implements IAuthEnforcer.ISessionStore
Constructor and Description |
---|
SessionStore(HPSConfiguration conf) |
Modifier and Type | Method and Description |
---|---|
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) |
java.lang.String |
newSession(java.lang.String providerSession,
IAuthEnforcer.IAuthProtocol protocol) |
void |
purgeAllSessions() |
void |
purgeSession(java.lang.String sessionId) |
public SessionStore(HPSConfiguration conf)
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 void purgeAllSessions()
public IAuthEnforcer.IAuthProtocol getProtocol(java.lang.String sessionId)
getProtocol
in interface IAuthEnforcer.ISessionStore
Copyright © 2021. All Rights Reserved.