public class JpaRealmProviderFactory extends Object implements RealmProviderFactory, ProviderEventListener
Modifier and Type | Field and Description |
---|---|
static String |
PROVIDER_ID |
static int |
PROVIDER_PRIORITY |
Constructor and Description |
---|
JpaRealmProviderFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is called when the server shuts down.
|
JpaRealmProvider |
create(KeycloakSession session) |
String |
getId() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
void |
onEvent(ProviderEvent event) |
int |
order() |
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
public static final String PROVIDER_ID
public static final int PROVIDER_PRIORITY
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<RealmProvider>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
in interface ProviderFactory<RealmProvider>
public String getId()
getId
in interface ProviderFactory<RealmProvider>
public JpaRealmProvider create(KeycloakSession session)
create
in interface ProviderFactory<RealmProvider>
public void close()
ProviderFactory
close
in interface ProviderFactory<RealmProvider>
public void onEvent(ProviderEvent event)
onEvent
in interface ProviderEventListener
public int order()
order
in interface ProviderFactory<RealmProvider>
Copyright © 2021 JBoss by Red Hat. All rights reserved.