@MongoCollection(collectionName="sessions") public class MongoUserSessionEntity extends AbstractIdentifiableEntity implements MongoIdentifiableEntity
| Constructor and Description |
|---|
MongoUserSessionEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRemove(MongoStoreInvocationContext context)
Lifecycle callback, which is called after removal of this object from Mongo.
|
String |
getAuthMethod() |
List<MongoClientSessionEntity> |
getClientSessions() |
String |
getIpAddress() |
int |
getLastSessionRefresh() |
String |
getLoginUsername() |
String |
getRealmId() |
int |
getStarted() |
String |
getUser() |
boolean |
isRememberMe() |
void |
setAuthMethod(String authMethod) |
void |
setClientSessions(List<MongoClientSessionEntity> clientSessions) |
void |
setIpAddress(String ipAddress) |
void |
setLastSessionRefresh(int lastSessionRefresh) |
void |
setLoginUsername(String loginUsername) |
void |
setRealmId(String realmId) |
void |
setRememberMe(boolean rememberMe) |
void |
setStarted(int started) |
void |
setUser(String user) |
equals, getId, hashCode, setId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, setIdpublic String getRealmId()
public void setRealmId(String realmId)
public String getUser()
public void setUser(String user)
public String getLoginUsername()
public void setLoginUsername(String loginUsername)
public String getIpAddress()
public void setIpAddress(String ipAddress)
public String getAuthMethod()
public void setAuthMethod(String authMethod)
public boolean isRememberMe()
public void setRememberMe(boolean rememberMe)
public int getStarted()
public void setStarted(int started)
public int getLastSessionRefresh()
public void setLastSessionRefresh(int lastSessionRefresh)
public List<MongoClientSessionEntity> getClientSessions()
public void setClientSessions(List<MongoClientSessionEntity> clientSessions)
public void afterRemove(MongoStoreInvocationContext context)
MongoIdentifiableEntityafterRemove in interface MongoIdentifiableEntityCopyright © 2014. All Rights Reserved.