public class MapRootAuthenticationSessionProvider extends Object implements AuthenticationSessionProvider
| Modifier and Type | Field and Description |
|---|---|
protected MapKeycloakTransaction<UUID,MapRootAuthenticationSessionEntity> |
tx |
| Constructor and Description |
|---|
MapRootAuthenticationSessionProvider(KeycloakSession session,
MapStorage<UUID,MapRootAuthenticationSessionEntity> sessionStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
RootAuthenticationSessionModel |
createRootAuthenticationSession(RealmModel realm) |
RootAuthenticationSessionModel |
createRootAuthenticationSession(RealmModel realm,
String id) |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRootAuthenticationSessionprotected final MapKeycloakTransaction<UUID,MapRootAuthenticationSessionEntity> tx
public MapRootAuthenticationSessionProvider(KeycloakSession session, MapStorage<UUID,MapRootAuthenticationSessionEntity> sessionStore)
public RootAuthenticationSessionModel createRootAuthenticationSession(RealmModel realm)
createRootAuthenticationSession in interface AuthenticationSessionProviderpublic RootAuthenticationSessionModel createRootAuthenticationSession(RealmModel realm, String id)
createRootAuthenticationSession in interface AuthenticationSessionProviderpublic RootAuthenticationSessionModel getRootAuthenticationSession(RealmModel realm, String authenticationSessionId)
getRootAuthenticationSession in interface AuthenticationSessionProviderpublic void removeRootAuthenticationSession(RealmModel realm, RootAuthenticationSessionModel authenticationSession)
removeRootAuthenticationSession in interface AuthenticationSessionProviderpublic void removeExpired(RealmModel realm)
removeExpired in interface AuthenticationSessionProviderpublic void onRealmRemoved(RealmModel realm)
onRealmRemoved in interface AuthenticationSessionProviderpublic void onClientRemoved(RealmModel realm, ClientModel client)
onClientRemoved in interface AuthenticationSessionProviderpublic void updateNonlocalSessionAuthNotes(AuthenticationSessionCompoundId compoundId, Map<String,String> authNotesFragment)
updateNonlocalSessionAuthNotes in interface AuthenticationSessionProviderCopyright © 2020 JBoss by Red Hat. All rights reserved.