Package org.keycloak.protocol
Class AbstractLoginProtocolFactory
java.lang.Object
org.keycloak.protocol.AbstractLoginProtocolFactory
- All Implemented Interfaces:
LoginProtocolFactory
,ProviderFactory<LoginProtocol>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDefaultClientScopes
(RealmModel realm, Stream<ClientModel> newClients) 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 createdprotected abstract void
createDefaultClientScopesImpl
(RealmModel newRealm) Impl should create default client scopes.void
init
(Config.Scope config) void
postInit
(KeycloakSessionFactory factory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.protocol.LoginProtocolFactory
createProtocolEndpoint, getBuiltinMappers, setupClientDefaults
Methods inherited from interface org.keycloak.provider.ProviderFactory
create, getConfigMetadata, getId, order
-
Constructor Details
-
AbstractLoginProtocolFactory
public AbstractLoginProtocolFactory()
-
-
Method Details
-
init
- Specified by:
init
in interfaceProviderFactory<LoginProtocol>
-
postInit
- Specified by:
postInit
in interfaceProviderFactory<LoginProtocol>
-
createDefaultClientScopes
Description copied from interface:LoginProtocolFactory
Called when new realm is created- Specified by:
createDefaultClientScopes
in interfaceLoginProtocolFactory
addScopesToExistingClients
- If true, then existing realm clients will be updated (created realm default scopes will be added to them)
-
createDefaultClientScopesImpl
Impl should create default client scopes. This is called usually when new realm is created -
addDefaultClientScopes
-
addDefaultClientScopes
-
addDefaults
-
close
public void close()- Specified by:
close
in interfaceProviderFactory<LoginProtocol>
-