public interface AuthenticationSessionModel extends CommonClientSessionModel
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.
|
Map<String,CommonClientSessionModel.ExecutionStatus> |
getExecutionStatus() |
Set<String> |
getRequiredActions()
Required actions that are attached to this client session.
|
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 |
restartSession(RealmModel realm,
ClientModel client) |
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 |
setExecutionStatus(String authenticator,
CommonClientSessionModel.ExecutionStatus status) |
void |
setUserSessionNote(String name,
String value)
Sets the given user session note to the given value.
|
void |
updateClient(ClientModel client) |
getAction, getClient, getId, getProtocol, getProtocolMappers, getRealm, getRedirectUri, getRoles, getTimestamp, setAction, setProtocol, setProtocolMappers, setRedirectUri, setRoles, setTimestampMap<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()
void updateClient(ClientModel client)
void restartSession(RealmModel realm, ClientModel client)
Copyright © 2017 JBoss by Red Hat. All rights reserved.