Interface MapUserSessionEntity
- 
- All Superinterfaces:
- AbstractEntity,- ExpirableEntity,- UpdatableEntity
 - All Known Implementing Classes:
- HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegate,- HotRodUserSessionEntityDelegate,- JpaUserSessionEntity,- JpaUserSessionMetadata,- MapUserSessionEntity.AbstractUserSessionEntity,- MapUserSessionEntityDelegate,- MapUserSessionEntityFieldDelegate,- MapUserSessionEntityImpl,- MapUserSessionEntityImpl.Empty
 
 public interface MapUserSessionEntity extends AbstractEntity, UpdatableEntity, ExpirableEntity - Author:
- Martin Kanis
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classMapUserSessionEntity.AbstractUserSessionEntity- 
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntityUpdatableEntity.Impl
 
- 
 - 
Method Summary- 
Methods inherited from interface org.keycloak.models.map.common.AbstractEntitygetId, setId
 - 
Methods inherited from interface org.keycloak.models.map.common.ExpirableEntitygetExpiration, setExpiration
 - 
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntityclearUpdatedFlag, isUpdated
 
- 
 
- 
- 
- 
Method Detail- 
getRealmIdString getRealmId() 
 - 
setRealmIdvoid setRealmId(String realmId) 
 - 
getUserIdString getUserId() 
 - 
setUserIdvoid setUserId(String userId) 
 - 
getBrokerSessionIdString getBrokerSessionId() 
 - 
setBrokerSessionIdvoid setBrokerSessionId(String brokerSessionId) 
 - 
getBrokerUserIdString getBrokerUserId() 
 - 
setBrokerUserIdvoid setBrokerUserId(String brokerUserId) 
 - 
getLoginUsernameString getLoginUsername() 
 - 
setLoginUsernamevoid setLoginUsername(String loginUsername) 
 - 
getIpAddressString getIpAddress() 
 - 
setIpAddressvoid setIpAddress(String ipAddress) 
 - 
getAuthMethodString getAuthMethod() 
 - 
setAuthMethodvoid setAuthMethod(String authMethod) 
 - 
isRememberMeBoolean isRememberMe() 
 - 
setRememberMevoid setRememberMe(Boolean rememberMe) 
 - 
getTimestampLong getTimestamp() Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was created.- Returns:
- a timestamp in milliseconds since The Epoch or nullwhen the time is unknown
 
 - 
setTimestampvoid setTimestamp(Long timestamp) Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.- Parameters:
- timestamp- a timestamp in milliseconds since The Epoch or- nullwhen the time is unknown
 
 - 
getLastSessionRefreshLong getLastSessionRefresh() Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.- Returns:
- a timestamp in milliseconds since The Epoch or nullwhen the time is unknown
 
 - 
setLastSessionRefreshvoid setLastSessionRefresh(Long lastSessionRefresh) Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.- Parameters:
- lastSessionRefresh- a timestamp in milliseconds since The Epoch or- nullwhen the time is unknown
 
 - 
getStateUserSessionModel.State getState() 
 - 
setStatevoid setState(UserSessionModel.State state) 
 - 
getAuthenticatedClientSessionsSet<MapAuthenticatedClientSessionEntity> getAuthenticatedClientSessions() 
 - 
getAuthenticatedClientSessionOptional<MapAuthenticatedClientSessionEntity> getAuthenticatedClientSession(String clientUUID) 
 - 
addAuthenticatedClientSessionvoid addAuthenticatedClientSession(MapAuthenticatedClientSessionEntity clientSession) 
 - 
clearAuthenticatedClientSessionsvoid clearAuthenticatedClientSessions() 
 - 
isOfflineBoolean isOffline() 
 - 
setOfflinevoid setOffline(Boolean offline) 
 - 
getPersistenceStateUserSessionModel.SessionPersistenceState getPersistenceState() 
 - 
setPersistenceStatevoid setPersistenceState(UserSessionModel.SessionPersistenceState persistenceState) 
 
- 
 
-