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 Type
    Method
    Description
    Gets the set of active sessions and their attached SPs.
    void
    Invalidates a session and sends LogoutRequests to all attached SPs.
  • Method Details

    • getActiveSessions

      Map<String,Set<String>> getActiveSessions()
      Gets the set of active sessions and their attached SPs.
      Returns:
      Map of session name::attached SPs for active sessions
    • invalidateSession

      void invalidateSession(String subjectName)
      Invalidates a session and sends LogoutRequests to all attached SPs.
      Parameters:
      subjectName - the name of the subject to invalidate