public class SSOAgentSessionManager extends Object
Session Index received from the identity provider is mapped to service provider sessions, so that a single-logout (SLO) request can be handled by invalidating the service provider session mapped to identity provider session index.
| Modifier and Type | Method and Description |
|---|---|
static void |
addAuthenticatedSession(javax.servlet.http.HttpSession session)
Adds an authenticated session to the global single-sign-on (SSO) session manager map.
|
static Set<javax.servlet.http.HttpSession> |
getAllInvalidatableSessions(javax.servlet.http.HttpSession session)
Returns all sessions associated with the session index retrieved from a specified
HttpSession
which are to be invalidated. |
static Set<javax.servlet.http.HttpSession> |
getAllInvalidatableSessions(String sessionIndex)
Returns all sessions associated with a specified session index, which are to be invalidated.
|
public static void addAuthenticatedSession(javax.servlet.http.HttpSession session)
session - the authenticated session to be added to the session mappublic static Set<javax.servlet.http.HttpSession> getAllInvalidatableSessions(javax.servlet.http.HttpSession session)
HttpSession
which are to be invalidated.
Internally, these sessions are removed from the global single-sign-on (SSO) session manager map.
session - the HttpSession instancepublic static Set<javax.servlet.http.HttpSession> getAllInvalidatableSessions(String sessionIndex)
Internally, these sessions are removed from the global single-sign-on (SSO) session manager map.
sessionIndex - the session index of whom all sessions are to be invalidatedCopyright © 2016 WSO2. All rights reserved.