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 abstract void |
addDefaults(ClientModel realm) |
void |
close() |
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) |
void |
postInit(KeycloakSessionFactory factory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateProtocolEndpoint, getBuiltinMappers, setupClientDefaultscreate, getId, orderpublic void init(Config.Scope config)
init in interface ProviderFactory<LoginProtocol>public void postInit(KeycloakSessionFactory factory)
postInit 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 abstract void addDefaults(ClientModel realm)
public void close()
close in interface ProviderFactory<LoginProtocol>Copyright © 2019 JBoss by Red Hat. All rights reserved.