public interface AuthenticationSessionProvider extends Provider
| Modifier and Type | Method and Description |
|---|---|
AuthenticationSessionModel |
createAuthenticationSession(RealmModel realm,
ClientModel client)
Creates and registers a new authentication session with random ID.
|
AuthenticationSessionModel |
createAuthenticationSession(String id,
RealmModel realm,
ClientModel client) |
AuthenticationSessionModel |
getAuthenticationSession(RealmModel realm,
String authenticationSessionId) |
void |
onClientRemoved(RealmModel realm,
ClientModel client) |
void |
onRealmRemoved(RealmModel realm) |
void |
removeAuthenticationSession(RealmModel realm,
AuthenticationSessionModel authenticationSession) |
void |
removeExpired(RealmModel realm) |
void |
updateNonlocalSessionAuthNotes(String authSessionId,
Map<String,String> authNotesFragment)
Requests update of authNotes of an authentication session that is not owned
by this instance but might exist somewhere in the cluster.
|
AuthenticationSessionModel createAuthenticationSession(RealmModel realm, ClientModel client)
AuthenticationSessionModel createAuthenticationSession(String id, RealmModel realm, ClientModel client)
AuthenticationSessionModel getAuthenticationSession(RealmModel realm, String authenticationSessionId)
void removeAuthenticationSession(RealmModel realm, AuthenticationSessionModel authenticationSession)
void removeExpired(RealmModel realm)
void onRealmRemoved(RealmModel realm)
void onClientRemoved(RealmModel realm, ClientModel client)
void updateNonlocalSessionAuthNotes(String authSessionId, Map<String,String> authNotesFragment)
authSessionId - authNotesFragment - Map with authNote values. Auth note is removed if the corresponding value in the map is null.Copyright © 2017 JBoss by Red Hat. All rights reserved.