Package org.keycloak.models.map.events
Interface MapAuthEventEntity
- All Superinterfaces:
AbstractEntity,ExpirableEntity,UpdatableEntity
- All Known Implementing Classes:
HotRodAuthEventEntity.AbstractHotRodAuthEventEntityDelegate,HotRodAuthEventEntityDelegate,JpaAuthEventEntity,JpaAuthEventMetadata,MapAuthEventEntity.AbstractAuthEventEntity,MapAuthEventEntityDelegate,MapAuthEventEntityFieldDelegate,MapAuthEventEntityImpl,MapAuthEventEntityImpl.Empty
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl -
Method Summary
Modifier and TypeMethodDescriptiongetError()Returns a point in time (timestamp in milliseconds since The Epoch) when the event entity was created.getType()voidsetClientId(String clientId) voidsetDetails(Map<String, String> details) voidvoidsetIpAddress(String ipAddress) voidsetRealmId(String realmId) voidsetSessionId(String sessionId) voidsetTimestamp(Long timestamp) Sets a point in the (timestamp in milliseconds since The Epoch) when the event entity was created.voidvoidMethods 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
-
getTimestamp
Long getTimestamp()Returns a point in time (timestamp in milliseconds since The Epoch) when the event entity was created.- 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 event entity was created.- Parameters:
timestamp- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
getType
EventType getType() -
setType
-
getRealmId
String getRealmId() -
setRealmId
-
getClientId
String getClientId() -
setClientId
-
getUserId
String getUserId() -
setUserId
-
getSessionId
String getSessionId() -
setSessionId
-
getIpAddress
String getIpAddress() -
setIpAddress
-
getError
String getError() -
setError
-
getDetails
-
setDetails
-