public interface UserSessionModel
Modifier and Type | Interface and Description |
---|---|
static class |
UserSessionModel.State |
Modifier and Type | Method and Description |
---|---|
String |
getAuthMethod() |
String |
getBrokerSessionId()
If created via a broker external login, this is an identifier that can be
used to match external broker backchannel logout requests to a UserSession
|
String |
getBrokerUserId() |
List<ClientSessionModel> |
getClientSessions() |
String |
getId() |
String |
getIpAddress() |
int |
getLastSessionRefresh() |
String |
getLoginUsername() |
String |
getNote(String name) |
int |
getStarted() |
UserSessionModel.State |
getState() |
UserModel |
getUser() |
boolean |
isRememberMe() |
void |
removeNote(String name) |
void |
setLastSessionRefresh(int seconds) |
void |
setNote(String name,
String value) |
void |
setState(UserSessionModel.State state) |
String getId()
String getBrokerSessionId()
String getBrokerUserId()
UserModel getUser()
String getLoginUsername()
String getIpAddress()
String getAuthMethod()
boolean isRememberMe()
int getStarted()
int getLastSessionRefresh()
void setLastSessionRefresh(int seconds)
List<ClientSessionModel> getClientSessions()
void removeNote(String name)
UserSessionModel.State getState()
void setState(UserSessionModel.State state)
Copyright © 2015. All rights reserved.