public class AuthenticationSessionAdapter extends Object implements AuthenticationSessionModel
CommonClientSessionModel.Action, CommonClientSessionModel.ExecutionStatus
Constructor and Description |
---|
AuthenticationSessionAdapter(KeycloakSession session,
RootAuthenticationSessionAdapter parent,
String tabId,
AuthenticationSessionEntity entity) |
public AuthenticationSessionAdapter(KeycloakSession session, RootAuthenticationSessionAdapter parent, String tabId, AuthenticationSessionEntity entity)
public String getTabId()
getTabId
in interface AuthenticationSessionModel
public RootAuthenticationSessionModel getParentSession()
getParentSession
in interface AuthenticationSessionModel
public RealmModel getRealm()
getRealm
in interface CommonClientSessionModel
public ClientModel getClient()
getClient
in interface CommonClientSessionModel
public String getRedirectUri()
getRedirectUri
in interface CommonClientSessionModel
public void setRedirectUri(String uri)
setRedirectUri
in interface CommonClientSessionModel
public String getAction()
getAction
in interface CommonClientSessionModel
public void setAction(String action)
setAction
in interface CommonClientSessionModel
public Set<String> getClientScopes()
getClientScopes
in interface AuthenticationSessionModel
public void setClientScopes(Set<String> clientScopes)
setClientScopes
in interface AuthenticationSessionModel
public String getProtocol()
getProtocol
in interface CommonClientSessionModel
public void setProtocol(String protocol)
setProtocol
in interface CommonClientSessionModel
public String getClientNote(String name)
getClientNote
in interface AuthenticationSessionModel
public void setClientNote(String name, String value)
setClientNote
in interface AuthenticationSessionModel
public void removeClientNote(String name)
removeClientNote
in interface AuthenticationSessionModel
public Map<String,String> getClientNotes()
getClientNotes
in interface AuthenticationSessionModel
public void clearClientNotes()
clearClientNotes
in interface AuthenticationSessionModel
public String getAuthNote(String name)
getAuthNote
in interface AuthenticationSessionModel
public void setAuthNote(String name, String value)
setAuthNote
in interface AuthenticationSessionModel
public void removeAuthNote(String name)
removeAuthNote
in interface AuthenticationSessionModel
public void clearAuthNotes()
clearAuthNotes
in interface AuthenticationSessionModel
public void setUserSessionNote(String name, String value)
setUserSessionNote
in interface AuthenticationSessionModel
public Map<String,String> getUserSessionNotes()
getUserSessionNotes
in interface AuthenticationSessionModel
public void clearUserSessionNotes()
clearUserSessionNotes
in interface AuthenticationSessionModel
public Set<String> getRequiredActions()
getRequiredActions
in interface AuthenticationSessionModel
public void addRequiredAction(String action)
addRequiredAction
in interface AuthenticationSessionModel
public void removeRequiredAction(String action)
removeRequiredAction
in interface AuthenticationSessionModel
public void addRequiredAction(UserModel.RequiredAction action)
addRequiredAction
in interface AuthenticationSessionModel
public void removeRequiredAction(UserModel.RequiredAction action)
removeRequiredAction
in interface AuthenticationSessionModel
public Map<String,CommonClientSessionModel.ExecutionStatus> getExecutionStatus()
getExecutionStatus
in interface AuthenticationSessionModel
public void setExecutionStatus(String authenticator, CommonClientSessionModel.ExecutionStatus status)
setExecutionStatus
in interface AuthenticationSessionModel
public void clearExecutionStatus()
clearExecutionStatus
in interface AuthenticationSessionModel
public UserModel getAuthenticatedUser()
getAuthenticatedUser
in interface AuthenticationSessionModel
public void setAuthenticatedUser(UserModel user)
setAuthenticatedUser
in interface AuthenticationSessionModel
Copyright © 2021 JBoss by Red Hat. All rights reserved.