Package ch.ivyteam.ivy.security
Class ClusterSessionsSnapshot
java.lang.Object
ch.ivyteam.ivy.security.ClusterSessionsSnapshot
- All Implemented Interfaces:
Serializable
Snapshot containing information about all sessions of a cluster.
- See Also:
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list ofSessionInfo
for all Sessions available when the snapshot was taken.getSessionInfos
(String username) Returns a list containing allSessionInfo
s of the user with the nameusername
at the time when the snapshot was taken.
-
Method Details
-
getSessionInfos
Returns a list ofSessionInfo
for all Sessions available when the snapshot was taken.- Returns:
- never null. If there are no sessions an empty list is returned.
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
getSessionInfos
Returns a list containing allSessionInfo
s of the user with the nameusername
at the time when the snapshot was taken.- Parameters:
username
-- Returns:
- never null. If the user has no sessions an empty list is returned.
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-