Class SessionGroupAndSessionsData
java.lang.Object
org.sourceid.saml20.service.session.data.SessionGroupAndSessionsData
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 Summary
ConstructorsConstructorDescriptionCreate an empty instance.SessionGroupAndSessionsData(SessionGroupData sessionGroupData, Collection<AuthnSessionData> authnSessions) Create an instance with the specified contents. -
Method Summary
Modifier and TypeMethodDescriptionGet the authentication session data objects.Get the session group data.Get the unique user IDs associated with this session group.voidsetAuthnSessions(Collection<AuthnSessionData> authnSessions) Set the authentication session data objects.voidsetSessionGroupData(SessionGroupData sessionGroupData) Set the session group data.voidsetUniqueUserIds(Collection<String> uniqueUserIds) Set the unique user IDs associated with this session group.
-
Constructor Details
-
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 instanceauthnSessions- The collection of authentication sessions for the new instance
-
-
Method Details
-
getSessionGroupData
Get the session group data.- Returns:
- The session group data.
-
setSessionGroupData
Set the session group data.- Parameters:
sessionGroupData- The session group data.
-
getAuthnSessions
Get the authentication session data objects.- Returns:
- The authentication session data objects.
-
setAuthnSessions
Set the authentication session data objects.- Parameters:
authnSessions- The authentication session data objects.
-
getUniqueUserIds
Get the unique user IDs associated with this session group.- Returns:
- The unique user IDs associated with this session group.
-
setUniqueUserIds
Set the unique user IDs associated with this session group.- Parameters:
uniqueUserIds- The unique user IDs associated with this session group.
-