Class AuthenticationSessionAdapter
java.lang.Object
org.keycloak.models.sessions.infinispan.AuthenticationSessionAdapter
- All Implemented Interfaces:
AuthenticationSessionModel,CommonClientSessionModel
NOTE: Calling setter doesn't automatically enlist for update
- Author:
- Marek Posolda
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.sessions.CommonClientSessionModel
CommonClientSessionModel.Action, CommonClientSessionModel.ExecutionStatus -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationSessionAdapter(KeycloakSession session, RootAuthenticationSessionAdapter parent, String tabId, AuthenticationSessionEntity entity) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRequiredAction(String action) voidvoidvoidvoidvoidbooleangetAuthNote(String name) getClientNote(String name) getRealm()getTabId()inthashCode()voidremoveAuthNote(String name) voidremoveClientNote(String name) voidremoveRequiredAction(String action) voidvoidvoidvoidsetAuthNote(String name, String value) voidsetClientNote(String name, String value) voidsetClientScopes(Set<String> clientScopes) voidsetExecutionStatus(String authenticator, CommonClientSessionModel.ExecutionStatus status) voidsetProtocol(String protocol) voidsetRedirectUri(String uri) voidsetUserSessionNote(String name, String value)
-
Constructor Details
-
AuthenticationSessionAdapter
public AuthenticationSessionAdapter(KeycloakSession session, RootAuthenticationSessionAdapter parent, String tabId, AuthenticationSessionEntity entity)
-
-
Method Details
-
getTabId
- Specified by:
getTabIdin interfaceAuthenticationSessionModel
-
getParentSession
- Specified by:
getParentSessionin interfaceAuthenticationSessionModel
-
getRealm
- Specified by:
getRealmin interfaceCommonClientSessionModel
-
getClient
- Specified by:
getClientin interfaceCommonClientSessionModel
-
getRedirectUri
- Specified by:
getRedirectUriin interfaceCommonClientSessionModel
-
setRedirectUri
- Specified by:
setRedirectUriin interfaceCommonClientSessionModel
-
getAction
- Specified by:
getActionin interfaceCommonClientSessionModel
-
setAction
- Specified by:
setActionin interfaceCommonClientSessionModel
-
getClientScopes
- Specified by:
getClientScopesin interfaceAuthenticationSessionModel
-
setClientScopes
- Specified by:
setClientScopesin interfaceAuthenticationSessionModel
-
getProtocol
- Specified by:
getProtocolin interfaceCommonClientSessionModel
-
setProtocol
- Specified by:
setProtocolin interfaceCommonClientSessionModel
-
getClientNote
- Specified by:
getClientNotein interfaceAuthenticationSessionModel
-
setClientNote
- Specified by:
setClientNotein interfaceAuthenticationSessionModel
-
removeClientNote
- Specified by:
removeClientNotein interfaceAuthenticationSessionModel
-
getClientNotes
- Specified by:
getClientNotesin interfaceAuthenticationSessionModel
-
clearClientNotes
public void clearClientNotes()- Specified by:
clearClientNotesin interfaceAuthenticationSessionModel
-
getAuthNote
- Specified by:
getAuthNotein interfaceAuthenticationSessionModel
-
setAuthNote
- Specified by:
setAuthNotein interfaceAuthenticationSessionModel
-
removeAuthNote
- Specified by:
removeAuthNotein interfaceAuthenticationSessionModel
-
clearAuthNotes
public void clearAuthNotes()- Specified by:
clearAuthNotesin interfaceAuthenticationSessionModel
-
setUserSessionNote
- Specified by:
setUserSessionNotein interfaceAuthenticationSessionModel
-
getUserSessionNotes
- Specified by:
getUserSessionNotesin interfaceAuthenticationSessionModel
-
clearUserSessionNotes
public void clearUserSessionNotes()- Specified by:
clearUserSessionNotesin interfaceAuthenticationSessionModel
-
getRequiredActions
- Specified by:
getRequiredActionsin interfaceAuthenticationSessionModel
-
addRequiredAction
- Specified by:
addRequiredActionin interfaceAuthenticationSessionModel
-
removeRequiredAction
- Specified by:
removeRequiredActionin interfaceAuthenticationSessionModel
-
addRequiredAction
- Specified by:
addRequiredActionin interfaceAuthenticationSessionModel
-
removeRequiredAction
- Specified by:
removeRequiredActionin interfaceAuthenticationSessionModel
-
getExecutionStatus
- Specified by:
getExecutionStatusin interfaceAuthenticationSessionModel
-
setExecutionStatus
public void setExecutionStatus(String authenticator, CommonClientSessionModel.ExecutionStatus status) - Specified by:
setExecutionStatusin interfaceAuthenticationSessionModel
-
clearExecutionStatus
public void clearExecutionStatus()- Specified by:
clearExecutionStatusin interfaceAuthenticationSessionModel
-
getAuthenticatedUser
- Specified by:
getAuthenticatedUserin interfaceAuthenticationSessionModel
-
setAuthenticatedUser
- Specified by:
setAuthenticatedUserin interfaceAuthenticationSessionModel
-
equals
-
hashCode
public int hashCode()
-