public class DefaultClientPolicyManagerFactory extends Object implements ClientPolicyManagerFactory
| Constructor and Description |
|---|
DefaultClientPolicyManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is called when the server shuts down.
|
ClientPolicyManager |
create(KeycloakSession session) |
protected List<ClientProfileRepresentation> |
getGlobalClientProfiles(KeycloakSession session)
When this method is called, assumption is that CLIENT_POLICIES feature is enabled
|
String |
getId() |
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, waitorderpublic ClientPolicyManager create(KeycloakSession session)
create in interface ProviderFactory<ClientPolicyManager>public void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<ClientPolicyManager>public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<ClientPolicyManager>public void close()
ProviderFactoryclose in interface ProviderFactory<ClientPolicyManager>public String getId()
getId in interface ProviderFactory<ClientPolicyManager>protected List<ClientProfileRepresentation> getGlobalClientProfiles(KeycloakSession session)
Copyright © 2021 JBoss by Red Hat. All rights reserved.