@MongoCollection(collectionName="sessions") public class MongoUserSessionEntity extends AbstractIdentifiableEntity implements MongoIdentifiableEntity
| Constructor and Description |
|---|
MongoUserSessionEntity() |
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 void afterRemove(MongoStoreInvocationContext context)
MongoIdentifiableEntityafterRemove in interface MongoIdentifiableEntitypublic UserSessionModel.State getState()
public void setState(UserSessionModel.State state)
public String getBrokerSessionId()
public void setBrokerSessionId(String brokerSessionId)
public String getBrokerUserId()
public void setBrokerUserId(String brokerUserId)
Copyright © 2015. All rights reserved.