public class DefaultUserSessionRegistry extends Object implements UserSessionRegistry
UserSessionRegistry.| Constructor and Description |
|---|
DefaultUserSessionRegistry() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getSessionIds(String user)
Return the active session id's for the given user.
|
void |
registerSessionId(String user,
String sessionId)
Register an active session id for the given user.
|
void |
unregisterSessionId(String userName,
String sessionId)
Unregister the session id for a user.
|
public Set<String> getSessionIds(String user)
UserSessionRegistrygetSessionIds in interface UserSessionRegistryuser - the userpublic void registerSessionId(String user, String sessionId)
UserSessionRegistryregisterSessionId in interface UserSessionRegistryuser - the usersessionId - the session idpublic void unregisterSessionId(String userName, String sessionId)
UserSessionRegistryunregisterSessionId in interface UserSessionRegistryuserName - the usersessionId - the session id