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