public abstract class AbstractLoginProtocolFactory extends Object implements LoginProtocolFactory
| Constructor and Description |
|---|
AbstractLoginProtocolFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultClientScopes(RealmModel realm,
ClientModel newClient) |
protected void |
addDefaultClientScopes(RealmModel realm,
Stream<ClientModel> newClients) |
protected abstract void |
addDefaults(ClientModel realm) |
void |
close()
This is called when the server shuts down.
|
void |
createDefaultClientScopes(RealmModel newRealm,
boolean addScopesToExistingClients)
Called when new realm is created
|
protected abstract void |
createDefaultClientScopesImpl(RealmModel newRealm)
Impl should create default client scopes.
|
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateProtocolEndpoint, getBuiltinMappers, setupClientDefaultscreate, getId, orderpublic void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<LoginProtocol>public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<LoginProtocol>public void createDefaultClientScopes(RealmModel newRealm, boolean addScopesToExistingClients)
LoginProtocolFactorycreateDefaultClientScopes in interface LoginProtocolFactoryaddScopesToExistingClients - If true, then existing realm clients will be updated (created realm default scopes will be added to them)protected abstract void createDefaultClientScopesImpl(RealmModel newRealm)
protected void addDefaultClientScopes(RealmModel realm, ClientModel newClient)
protected void addDefaultClientScopes(RealmModel realm, Stream<ClientModel> newClients)
protected abstract void addDefaults(ClientModel realm)
public void close()
ProviderFactoryclose in interface ProviderFactory<LoginProtocol>Copyright © 2021 JBoss by Red Hat. All rights reserved.