@MongoCollection(collectionName="sessions") public class MongoUserSessionEntity extends AbstractIdentifiableEntity implements MongoIdentifiableEntity
Constructor and Description |
---|
MongoUserSessionEntity() |
equals, getId, hashCode, setId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, setId
public 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)
MongoIdentifiableEntity
afterRemove
in interface MongoIdentifiableEntity
public 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.