@Component(value="cuba_IdpSessionStore") public class IdpSessionStoreBean extends java.lang.Object implements IdpSessionStore
IdpSessionStore.IdpSessionInfo, IdpSessionStore.IdpSessionTicketInfo
NAME
Constructor and Description |
---|
IdpSessionStoreBean() |
Modifier and Type | Method and Description |
---|---|
IdpSession |
activateSessionTicket(java.lang.String serviceProviderTicket) |
java.lang.String |
createServiceProviderTicket(java.lang.String sessionId) |
int |
getSendTimeoutSec() |
IdpSession |
getSession(java.lang.String sessionId) |
IdpSessionStore.IdpSessionInfo |
getSessionInfo(java.lang.String sessionId) |
java.util.List<IdpSessionStore.IdpSessionInfo> |
getSessions() |
java.util.Map<java.lang.String,IdpSessionStore.IdpSessionTicketInfo> |
getTickets() |
java.util.List<IdpSessionStore.IdpSessionInfo> |
processEviction(int sessionExpirationTimeoutSec,
int ticketExpirationTimeoutSec) |
void |
propagate(java.lang.String sessionId)
Propagates the IDP session state to the cluster
|
java.lang.String |
putSession(IdpSession session) |
boolean |
removeSession(java.lang.String sessionId) |
void |
setClusterManager(ClusterManagerAPI clusterManager) |
void |
setSendTimeoutSec(int sendTimeoutSec) |
@Inject public void setClusterManager(ClusterManagerAPI clusterManager)
public java.lang.String putSession(IdpSession session)
putSession
in interface IdpSessionStore
public boolean removeSession(java.lang.String sessionId)
removeSession
in interface IdpSessionStore
public IdpSession activateSessionTicket(java.lang.String serviceProviderTicket)
activateSessionTicket
in interface IdpSessionStore
public java.lang.String createServiceProviderTicket(java.lang.String sessionId)
createServiceProviderTicket
in interface IdpSessionStore
public java.util.List<IdpSessionStore.IdpSessionInfo> getSessions()
getSessions
in interface IdpSessionStore
public java.util.Map<java.lang.String,IdpSessionStore.IdpSessionTicketInfo> getTickets()
getTickets
in interface IdpSessionStore
public java.util.List<IdpSessionStore.IdpSessionInfo> processEviction(int sessionExpirationTimeoutSec, int ticketExpirationTimeoutSec)
processEviction
in interface IdpSessionStore
public void propagate(java.lang.String sessionId)
IdpSessionStore
propagate
in interface IdpSessionStore
sessionId
- session id. If session with this id is not found, does nothing.public IdpSession getSession(java.lang.String sessionId)
getSession
in interface IdpSessionStore
public IdpSessionStore.IdpSessionInfo getSessionInfo(java.lang.String sessionId)
getSessionInfo
in interface IdpSessionStore
public int getSendTimeoutSec()
public void setSendTimeoutSec(int sendTimeoutSec)