Class MapAuthenticationSessionEntityImpl.Empty
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.authSession.MapAuthenticationSessionEntityImpl.Empty
-
- All Implemented Interfaces:
MapAuthenticationSessionEntity
,UpdatableEntity
- Enclosing class:
- MapAuthenticationSessionEntityImpl
public static class MapAuthenticationSessionEntityImpl.Empty extends UpdatableEntity.Impl implements MapAuthenticationSessionEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
Fields Modifier and Type Field Description static MapAuthenticationSessionEntityImpl.Empty
INSTANCE
-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Constructor Summary
Constructors Constructor Description Empty()
-
Method Summary
-
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag
-
-
-
-
Field Detail
-
INSTANCE
public static final MapAuthenticationSessionEntityImpl.Empty INSTANCE
-
-
Method Detail
-
getAction
public String getAction()
- Specified by:
getAction
in interfaceMapAuthenticationSessionEntity
-
setAction
public void setAction(String action)
- Specified by:
setAction
in interfaceMapAuthenticationSessionEntity
-
getAuthNotes
public Map<String,String> getAuthNotes()
- Specified by:
getAuthNotes
in interfaceMapAuthenticationSessionEntity
-
setAuthNotes
public void setAuthNotes(Map<String,String> authNotes)
- Specified by:
setAuthNotes
in interfaceMapAuthenticationSessionEntity
-
setAuthNote
public void setAuthNote(String name, String value)
- Specified by:
setAuthNote
in interfaceMapAuthenticationSessionEntity
-
removeAuthNote
public void removeAuthNote(String name)
- Specified by:
removeAuthNote
in interfaceMapAuthenticationSessionEntity
-
setAuthUserId
public void setAuthUserId(String authUserId)
- Specified by:
setAuthUserId
in interfaceMapAuthenticationSessionEntity
-
getAuthUserId
public String getAuthUserId()
- Specified by:
getAuthUserId
in interfaceMapAuthenticationSessionEntity
-
removeClientNote
public void removeClientNote(String name)
- Specified by:
removeClientNote
in interfaceMapAuthenticationSessionEntity
-
setClientNotes
public void setClientNotes(Map<String,String> clientNotes)
- Specified by:
setClientNotes
in interfaceMapAuthenticationSessionEntity
-
getClientNotes
public Map<String,String> getClientNotes()
- Specified by:
getClientNotes
in interfaceMapAuthenticationSessionEntity
-
setClientNote
public void setClientNote(String name, String value)
- Specified by:
setClientNote
in interfaceMapAuthenticationSessionEntity
-
getClientScopes
public Set<String> getClientScopes()
- Specified by:
getClientScopes
in interfaceMapAuthenticationSessionEntity
-
setClientScopes
public void setClientScopes(Set<String> clientScopes)
- Specified by:
setClientScopes
in interfaceMapAuthenticationSessionEntity
-
getClientUUID
public String getClientUUID()
- Specified by:
getClientUUID
in interfaceMapAuthenticationSessionEntity
-
setClientUUID
public void setClientUUID(String clientUUID)
- Specified by:
setClientUUID
in interfaceMapAuthenticationSessionEntity
-
setExecutionStatus
public void setExecutionStatus(String authenticator, CommonClientSessionModel.ExecutionStatus status)
- Specified by:
setExecutionStatus
in interfaceMapAuthenticationSessionEntity
-
getExecutionStatuses
public Map<String,CommonClientSessionModel.ExecutionStatus> getExecutionStatuses()
- Specified by:
getExecutionStatuses
in interfaceMapAuthenticationSessionEntity
-
setExecutionStatuses
public void setExecutionStatuses(Map<String,CommonClientSessionModel.ExecutionStatus> executionStatus)
- Specified by:
setExecutionStatuses
in interfaceMapAuthenticationSessionEntity
-
setProtocol
public void setProtocol(String protocol)
- Specified by:
setProtocol
in interfaceMapAuthenticationSessionEntity
-
getProtocol
public String getProtocol()
- Specified by:
getProtocol
in interfaceMapAuthenticationSessionEntity
-
setRedirectUri
public void setRedirectUri(String redirectUri)
- Specified by:
setRedirectUri
in interfaceMapAuthenticationSessionEntity
-
getRedirectUri
public String getRedirectUri()
- Specified by:
getRedirectUri
in interfaceMapAuthenticationSessionEntity
-
addRequiredAction
public void addRequiredAction(String requiredAction)
- Specified by:
addRequiredAction
in interfaceMapAuthenticationSessionEntity
-
removeRequiredAction
public void removeRequiredAction(String action)
- Specified by:
removeRequiredAction
in interfaceMapAuthenticationSessionEntity
-
getRequiredActions
public Set<String> getRequiredActions()
- Specified by:
getRequiredActions
in interfaceMapAuthenticationSessionEntity
-
setRequiredActions
public void setRequiredActions(Set<String> requiredActions)
- Specified by:
setRequiredActions
in interfaceMapAuthenticationSessionEntity
-
setTabId
public void setTabId(String tabId)
- Specified by:
setTabId
in interfaceMapAuthenticationSessionEntity
-
getTabId
public String getTabId()
- Specified by:
getTabId
in interfaceMapAuthenticationSessionEntity
-
getTimestamp
public Long getTimestamp()
Description copied from interface:MapAuthenticationSessionEntity
Returns a point in time (timestamp in milliseconds since The Epoch) when the authentication session entity was created.- Specified by:
getTimestamp
in interfaceMapAuthenticationSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setTimestamp
public void setTimestamp(Long timestamp)
Description copied from interface:MapAuthenticationSessionEntity
Sets a point in the (timestamp in milliseconds since The Epoch) when the authentication session entity was created.- Specified by:
setTimestamp
in interfaceMapAuthenticationSessionEntity
- Parameters:
timestamp
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
getUserSessionNotes
public Map<String,String> getUserSessionNotes()
- Specified by:
getUserSessionNotes
in interfaceMapAuthenticationSessionEntity
-
setUserSessionNote
public void setUserSessionNote(String name, String value)
- Specified by:
setUserSessionNote
in interfaceMapAuthenticationSessionEntity
-
setUserSessionNotes
public void setUserSessionNotes(Map<String,String> userSessionNotes)
- Specified by:
setUserSessionNotes
in interfaceMapAuthenticationSessionEntity
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntity
Flag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdated
in interfaceUpdatableEntity
- Overrides:
isUpdated
in classUpdatableEntity.Impl
- Returns:
-
-