Class SessionGroupAndSessionsData
- java.lang.Object
-
- org.sourceid.saml20.service.session.data.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 inSessionStorageManager.- Since:
- 10.3
-
-
Constructor Summary
Constructors Constructor Description SessionGroupAndSessionsData()Create an empty instance.SessionGroupAndSessionsData(SessionGroupData sessionGroupData, Collection<AuthnSessionData> authnSessions)Create an instance with the specified contents.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<AuthnSessionData>getAuthnSessions()Get the authentication session data objects.SessionGroupDatagetSessionGroupData()Get the session group data.Collection<String>getUniqueUserIds()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 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 instanceauthnSessions- 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.
-
-