| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Principal | |
| public SimpSession | Returns: the matching session, ornull if none foundthe session id sessionId)Look up the session for the given id. |
| public Set | Returns: a set of session ids, or an empty set if noneReturn the sessions for the user. |
| public boolean |
| getName | back to summary |
|---|---|
| public String getName() The unique user name. | |
| getPrincipal | back to summary |
|---|---|
| public Principal getPrincipal() Return the user associated with the session, if available. Typically, the user information is available unless the user is connected to a different server in a multi-server user registry scenario.
| |
| getSession | back to summary |
|---|---|
| public SimpSession getSession(String sessionId) Look up the session for the given id.
| |
| getSessions | back to summary |
|---|---|
| public Set Return the sessions for the user. The returned set is a copy and will never be modified.
| |
| hasSessions | back to summary |
|---|---|
| public boolean hasSessions() Whether the user has any sessions. | |