Package ch.ivyteam.ivy.security
Class ClusterSessionsSnapshot
- java.lang.Object
-
- ch.ivyteam.ivy.security.ClusterSessionsSnapshot
-
- All Implemented Interfaces:
Serializable
public class ClusterSessionsSnapshot extends Object implements Serializable
Snapshot containing information about all sessions of a cluster.- See Also:
- Serialized Form
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SessionInfo>
getSessionInfos()
Returns a list ofSessionInfo
for all Sessions available when the snapshot was taken.List<SessionInfo>
getSessionInfos(String username)
Returns a list containing allSessionInfo
s of the user with the nameusername
at the time when the snapshot was taken.
-
-
-
Method Detail
-
getSessionInfos
public List<SessionInfo> 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
public List<SessionInfo> getSessionInfos(String username)
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.
-
-