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 Classes Modifier and Type Interface Description static class
MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAuthenticationSession(MapAuthenticationSessionEntity authenticationSession)
Optional<MapAuthenticationSessionEntity>
getAuthenticationSession(String tabId)
Set<MapAuthenticationSessionEntity>
getAuthenticationSessions()
String
getRealmId()
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.Boolean
removeAuthenticationSession(String tabId)
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
-
-
-
-
Method Detail
-
getRealmId
String getRealmId()
-
setRealmId
void setRealmId(String realmId)
-
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
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.- Parameters:
timestamp
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
getAuthenticationSessions
Set<MapAuthenticationSessionEntity> getAuthenticationSessions()
-
setAuthenticationSessions
void setAuthenticationSessions(Set<MapAuthenticationSessionEntity> authenticationSessions)
-
getAuthenticationSession
Optional<MapAuthenticationSessionEntity> getAuthenticationSession(String tabId)
-
addAuthenticationSession
void addAuthenticationSession(MapAuthenticationSessionEntity authenticationSession)
-
-