Interface MapRootAuthenticationSessionEntity
- All Superinterfaces:
AbstractEntity
,ExpirableEntity
,UpdatableEntity
- All Known Implementing Classes:
HotRodRootAuthenticationSessionEntity.AbstractHotRodRootAuthenticationSessionEntityDelegate
,HotRodRootAuthenticationSessionEntityDelegate
,JpaRootAuthenticationSessionEntity
,JpaRootAuthenticationSessionMetadata
,MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
,MapRootAuthenticationSessionEntityDelegate
,MapRootAuthenticationSessionEntityFieldDelegate
,MapRootAuthenticationSessionEntityImpl
,MapRootAuthenticationSessionEntityImpl.Empty
public interface MapRootAuthenticationSessionEntity
extends AbstractEntity, UpdatableEntity, ExpirableEntity
- Author:
- Martin Kanis
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuthenticationSession
(MapAuthenticationSessionEntity authenticationSession) getAuthenticationSession
(String tabId) Returns a point in time (timestamp in milliseconds since The Epoch) when the root authentication session entity was created or updated during an authentication process.void
setAuthenticationSessions
(Set<MapAuthenticationSessionEntity> authenticationSessions) void
setRealmId
(String realmId) void
setTimestamp
(Long timestamp) Sets a point in the (timestamp in milliseconds since The Epoch) when the root authentication session entity was created or updated during an authentication process.Methods inherited from interface org.keycloak.models.map.common.AbstractEntity
getId, setId
Methods inherited from interface org.keycloak.models.map.common.ExpirableEntity
getExpiration, setExpiration
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated, markUpdatedFlag
-
Method Details
-
getRealmId
String getRealmId() -
setRealmId
-
getTimestamp
Long getTimestamp()Returns a point in time (timestamp in milliseconds since The Epoch) when the root authentication session entity was created or updated during an authentication process.- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setTimestamp
Sets a point in the (timestamp in milliseconds since The Epoch) when the root authentication session entity was created or updated during an authentication process.- Parameters:
timestamp
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
getAuthenticationSessions
Set<MapAuthenticationSessionEntity> getAuthenticationSessions() -
setAuthenticationSessions
-
getAuthenticationSession
-
addAuthenticationSession
-
removeAuthenticationSession
-