Class SessionGroupAndSessionsData


  • public class SessionGroupAndSessionsData
    extends Object
    A class combining data for a session group with the data for the authentication sessions that belong to that group. A session group is a collection of authentication sessions that are all linked to same browser instance. This class is the result type for certain query methods in SessionStorageManager.
    Since:
    10.3
    • Constructor Detail

      • SessionGroupAndSessionsData

        public SessionGroupAndSessionsData()
        Create an empty instance.
      • SessionGroupAndSessionsData

        public SessionGroupAndSessionsData​(SessionGroupData sessionGroupData,
                                           Collection<AuthnSessionData> authnSessions)
        Create an instance with the specified contents.
        Parameters:
        sessionGroupData - The session group data for the new instance
        authnSessions - The collection of authentication sessions for the new instance
    • Method Detail

      • getSessionGroupData

        public SessionGroupData getSessionGroupData()
        Get the session group data.
        Returns:
        The session group data.
      • setSessionGroupData

        public void setSessionGroupData​(SessionGroupData sessionGroupData)
        Set the session group data.
        Parameters:
        sessionGroupData - The session group data.
      • getAuthnSessions

        public Collection<AuthnSessionData> getAuthnSessions()
        Get the authentication session data objects.
        Returns:
        The authentication session data objects.
      • setAuthnSessions

        public void setAuthnSessions​(Collection<AuthnSessionData> authnSessions)
        Set the authentication session data objects.
        Parameters:
        authnSessions - The authentication session data objects.
      • getUniqueUserIds

        public Collection<String> getUniqueUserIds()
        Get the unique user IDs associated with this session group.
        Returns:
        The unique user IDs associated with this session group.
      • setUniqueUserIds

        public void setUniqueUserIds​(Collection<String> uniqueUserIds)
        Set the unique user IDs associated with this session group.
        Parameters:
        uniqueUserIds - The unique user IDs associated with this session group.