Class JpaAuthenticationSessionEntity
- java.lang.Object
- 
- org.keycloak.models.map.common.UpdatableEntity.Impl
- 
- org.keycloak.models.map.storage.jpa.authSession.entity.JpaAuthenticationSessionEntity
 
 
- 
- All Implemented Interfaces:
- Serializable,- MapAuthenticationSessionEntity,- AbstractEntity,- UpdatableEntity,- JpaChildEntity<JpaRootAuthenticationSessionEntity>,- JpaRootEntity,- JpaRootVersionedEntity
 
 @Entity public class JpaAuthenticationSessionEntity extends UpdatableEntity.Impl implements MapAuthenticationSessionEntity, JpaRootVersionedEntity, JpaChildEntity<JpaRootAuthenticationSessionEntity> Entity represents individual authentication session.- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntityUpdatableEntity.Impl
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringTABLE_NAME- 
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Implupdated
 
- 
 - 
Constructor SummaryConstructors Constructor Description JpaAuthenticationSessionEntity()No-argument constructor, used by hibernate to instantiate entities.JpaAuthenticationSessionEntity(DeepCloner cloner)
 - 
Method Summary- 
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.ImplclearUpdatedFlag, isUpdated
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.models.map.storage.jpa.JpaRootEntityupdateEntityVersion
 - 
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntityclearUpdatedFlag, isUpdated
 
- 
 
- 
- 
- 
Field Detail- 
TABLE_NAMEpublic static final String TABLE_NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
JpaAuthenticationSessionEntitypublic JpaAuthenticationSessionEntity() No-argument constructor, used by hibernate to instantiate entities.
 - 
JpaAuthenticationSessionEntitypublic JpaAuthenticationSessionEntity(DeepCloner cloner) 
 
- 
 - 
Method Detail- 
isMetadataInitializedpublic boolean isMetadataInitialized() 
 - 
getParentpublic JpaRootAuthenticationSessionEntity getParent() Description copied from interface:JpaChildEntityParent entity that should get its optimistic locking version updated upon changes in the child- Specified by:
- getParentin interface- JpaChildEntity<JpaRootAuthenticationSessionEntity>
 
 - 
setParentpublic void setParent(JpaRootAuthenticationSessionEntity root) 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- AbstractEntity
 
 - 
setIdpublic void setId(String id) - Specified by:
- setIdin interface- AbstractEntity
 
 - 
getEntityVersionpublic Integer getEntityVersion() - Specified by:
- getEntityVersionin interface- JpaRootEntity
- Returns:
- current supported version of the JPA entity used for schema versioning.
 
 - 
setEntityVersionpublic void setEntityVersion(Integer version) - Specified by:
- setEntityVersionin interface- JpaRootEntity
- Parameters:
- version- sets current supported version to JPA entity.
 
 - 
getCurrentSchemaVersionpublic Integer getCurrentSchemaVersion() - Specified by:
- getCurrentSchemaVersionin interface- JpaRootEntity
 
 - 
getVersionpublic int getVersion() Description copied from interface:JpaRootVersionedEntityVersion of the JPA entity used for optimistic locking- Specified by:
- getVersionin interface- JpaRootVersionedEntity
 
 - 
getTabIdpublic String getTabId() - Specified by:
- getTabIdin interface- MapAuthenticationSessionEntity
 
 - 
setTabIdpublic void setTabId(String tabId) - Specified by:
- setTabIdin interface- MapAuthenticationSessionEntity
 
 - 
getUserSessionNotespublic Map<String,String> getUserSessionNotes() - Specified by:
- getUserSessionNotesin interface- MapAuthenticationSessionEntity
 
 - 
setUserSessionNotespublic void setUserSessionNotes(Map<String,String> userSessionNotes) - Specified by:
- setUserSessionNotesin interface- MapAuthenticationSessionEntity
 
 - 
setUserSessionNotepublic void setUserSessionNote(String name, String value) - Specified by:
- setUserSessionNotein interface- MapAuthenticationSessionEntity
 
 - 
getClientUUIDpublic String getClientUUID() - Specified by:
- getClientUUIDin interface- MapAuthenticationSessionEntity
 
 - 
setClientUUIDpublic void setClientUUID(String clientUUID) - Specified by:
- setClientUUIDin interface- MapAuthenticationSessionEntity
 
 - 
getAuthUserIdpublic String getAuthUserId() - Specified by:
- getAuthUserIdin interface- MapAuthenticationSessionEntity
 
 - 
setAuthUserIdpublic void setAuthUserId(String authUserId) - Specified by:
- setAuthUserIdin interface- MapAuthenticationSessionEntity
 
 - 
getTimestamppublic Long getTimestamp() Description copied from interface:MapAuthenticationSessionEntityReturns a point in time (timestamp in milliseconds since The Epoch) when the authentication session entity was created.- Specified by:
- getTimestampin interface- MapAuthenticationSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or nullwhen the time is unknown
 
 - 
setTimestamppublic void setTimestamp(Long timestamp) Description copied from interface:MapAuthenticationSessionEntitySets a point in the (timestamp in milliseconds since The Epoch) when the authentication session entity was created.- Specified by:
- setTimestampin interface- MapAuthenticationSessionEntity
- Parameters:
- timestamp- a timestamp in milliseconds since The Epoch or- nullwhen the time is unknown
 
 - 
getRedirectUripublic String getRedirectUri() - Specified by:
- getRedirectUriin interface- MapAuthenticationSessionEntity
 
 - 
setRedirectUripublic void setRedirectUri(String redirectUri) - Specified by:
- setRedirectUriin interface- MapAuthenticationSessionEntity
 
 - 
getActionpublic String getAction() - Specified by:
- getActionin interface- MapAuthenticationSessionEntity
 
 - 
setActionpublic void setAction(String action) - Specified by:
- setActionin interface- MapAuthenticationSessionEntity
 
 - 
getClientScopespublic Set<String> getClientScopes() - Specified by:
- getClientScopesin interface- MapAuthenticationSessionEntity
 
 - 
setClientScopespublic void setClientScopes(Set<String> clientScopes) - Specified by:
- setClientScopesin interface- MapAuthenticationSessionEntity
 
 - 
getRequiredActionspublic Set<String> getRequiredActions() - Specified by:
- getRequiredActionsin interface- MapAuthenticationSessionEntity
 
 - 
setRequiredActionspublic void setRequiredActions(Set<String> requiredActions) - Specified by:
- setRequiredActionsin interface- MapAuthenticationSessionEntity
 
 - 
addRequiredActionpublic void addRequiredAction(String requiredAction) - Specified by:
- addRequiredActionin interface- MapAuthenticationSessionEntity
 
 - 
removeRequiredActionpublic void removeRequiredAction(String action) - Specified by:
- removeRequiredActionin interface- MapAuthenticationSessionEntity
 
 - 
getProtocolpublic String getProtocol() - Specified by:
- getProtocolin interface- MapAuthenticationSessionEntity
 
 - 
setProtocolpublic void setProtocol(String protocol) - Specified by:
- setProtocolin interface- MapAuthenticationSessionEntity
 
 - 
getClientNotespublic Map<String,String> getClientNotes() - Specified by:
- getClientNotesin interface- MapAuthenticationSessionEntity
 
 - 
setClientNotespublic void setClientNotes(Map<String,String> clientNotes) - Specified by:
- setClientNotesin interface- MapAuthenticationSessionEntity
 
 - 
setClientNotepublic void setClientNote(String name, String value) - Specified by:
- setClientNotein interface- MapAuthenticationSessionEntity
 
 - 
removeClientNotepublic void removeClientNote(String name) - Specified by:
- removeClientNotein interface- MapAuthenticationSessionEntity
 
 - 
getAuthNotespublic Map<String,String> getAuthNotes() - Specified by:
- getAuthNotesin interface- MapAuthenticationSessionEntity
 
 - 
setAuthNotespublic void setAuthNotes(Map<String,String> authNotes) - Specified by:
- setAuthNotesin interface- MapAuthenticationSessionEntity
 
 - 
setAuthNotepublic void setAuthNote(String name, String value) - Specified by:
- setAuthNotein interface- MapAuthenticationSessionEntity
 
 - 
removeAuthNotepublic void removeAuthNote(String name) - Specified by:
- removeAuthNotein interface- MapAuthenticationSessionEntity
 
 - 
getExecutionStatusespublic Map<String,CommonClientSessionModel.ExecutionStatus> getExecutionStatuses() - Specified by:
- getExecutionStatusesin interface- MapAuthenticationSessionEntity
 
 - 
setExecutionStatusespublic void setExecutionStatuses(Map<String,CommonClientSessionModel.ExecutionStatus> executionStatus) - Specified by:
- setExecutionStatusesin interface- MapAuthenticationSessionEntity
 
 - 
setExecutionStatuspublic void setExecutionStatus(String authenticator, CommonClientSessionModel.ExecutionStatus status) - Specified by:
- setExecutionStatusin interface- MapAuthenticationSessionEntity
 
 
- 
 
-