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
Nested ClassesModifier and TypeInterfaceDescriptionstatic classNested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuthenticationSession(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.voidsetAuthenticationSessions(Set<MapAuthenticationSessionEntity> authenticationSessions) voidsetRealmId(String realmId) voidsetTimestamp(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, setIdMethods inherited from interface org.keycloak.models.map.common.ExpirableEntity
getExpiration, setExpirationMethods 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
nullwhen 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 ornullwhen the time is unknown
-
getAuthenticationSessions
Set<MapAuthenticationSessionEntity> getAuthenticationSessions() -
setAuthenticationSessions
-
getAuthenticationSession
-
addAuthenticationSession
-
removeAuthenticationSession
-