Interface SessionHandler
public interface SessionHandler
Service contract for listing and invalidating user sessions.
This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.
-
Method Summary
Modifier and TypeMethodDescriptionGets the set of active sessions and their attached SPs.voidinvalidateSession(String subjectName) Invalidates a session and sends LogoutRequests to all attached SPs.
-
Method Details
-
getActiveSessions
Gets the set of active sessions and their attached SPs.- Returns:
- Map of session name::attached SPs for active sessions
-
invalidateSession
Invalidates a session and sends LogoutRequests to all attached SPs.- Parameters:
subjectName- the name of the subject to invalidate
-