public interface AuthenticationSessionModel extends CommonClientSessionModel
RootAuthenticationSessionModel
CommonClientSessionModel.Action, CommonClientSessionModel.ExecutionStatus
Modifier and Type | Method and Description |
---|---|
void |
addRequiredAction(String action) |
void |
addRequiredAction(UserModel.RequiredAction action) |
void |
clearAuthNotes()
Clears all authentication note.
|
void |
clearClientNotes()
Clears all client notes.
|
void |
clearExecutionStatus() |
void |
clearUserSessionNotes()
Clears all user session notes.
|
UserModel |
getAuthenticatedUser() |
String |
getAuthNote(String name)
Retrieves value of the given authentication note to the given value.
|
String |
getClientNote(String name)
Retrieves value of the given client note to the given value.
|
Map<String,String> |
getClientNotes()
Retrieves the (name, value) map of client notes.
|
Set<String> |
getClientScopes()
Get client scope IDs
|
Map<String,CommonClientSessionModel.ExecutionStatus> |
getExecutionStatus() |
RootAuthenticationSessionModel |
getParentSession() |
Set<String> |
getRequiredActions()
Required actions that are attached to this client session.
|
String |
getTabId() |
Map<String,String> |
getUserSessionNotes()
Retrieves value of given user session note.
|
void |
removeAuthNote(String name)
Removes the given authentication note.
|
void |
removeClientNote(String name)
Removes the given client note.
|
void |
removeRequiredAction(String action) |
void |
removeRequiredAction(UserModel.RequiredAction action) |
void |
setAuthenticatedUser(UserModel user) |
void |
setAuthNote(String name,
String value)
Sets the given authentication note to the given value.
|
void |
setClientNote(String name,
String value)
Sets the given client note to the given value.
|
void |
setClientScopes(Set<String> clientScopes)
Set client scope IDs
|
void |
setExecutionStatus(String authenticator,
CommonClientSessionModel.ExecutionStatus status) |
void |
setUserSessionNote(String name,
String value)
Sets the given user session note to the given value.
|
getAction, getClient, getProtocol, getRealm, getRedirectUri, setAction, setProtocol, setRedirectUri
String getTabId()
#getParentSession().getId()
RootAuthenticationSessionModel getParentSession()
Map<String,CommonClientSessionModel.ExecutionStatus> getExecutionStatus()
void setExecutionStatus(String authenticator, CommonClientSessionModel.ExecutionStatus status)
void clearExecutionStatus()
UserModel getAuthenticatedUser()
void setAuthenticatedUser(UserModel user)
Set<String> getRequiredActions()
void addRequiredAction(String action)
void removeRequiredAction(String action)
void addRequiredAction(UserModel.RequiredAction action)
void removeRequiredAction(UserModel.RequiredAction action)
void setUserSessionNote(String name, String value)
Map<String,String> getUserSessionNotes()
void clearUserSessionNotes()
String getAuthNote(String name)
void setAuthNote(String name, String value)
void removeAuthNote(String name)
void clearAuthNotes()
String getClientNote(String name)
void setClientNote(String name, String value)
void removeClientNote(String name)
Map<String,String> getClientNotes()
void clearClientNotes()
Copyright © 2019 JBoss by Red Hat. All rights reserved.