public interface AmphibianProviderFactory<ProviderType extends Provider> extends ProviderFactory<ProviderType>, ComponentFactory<ProviderType,ProviderType>
ProviderFactory and a ComponentFactory. It
behaves as usual for a standalone provider, and for a component creates a factory customized according to
configuration of this component. The component creation then behaves in the same way as if it was
a standalone component, i.e.:
ProviderFactory.init(org.keycloak.Config.Scope) method where the configuration
is taken from the component configuration, converted into a Config.Scope. The
component configuration takes precedence over configuration of the provider factory.create(KeycloakSession) method even for components,
since there is now a specific factory per component.ComponentFactoryProviderFactory| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
ProviderType |
create(KeycloakSession session) |
default ProviderType |
create(KeycloakSession session,
ComponentModel model)
Deprecated.
|
default List<ProviderConfigProperty> |
getConfigProperties() |
default void |
onUpdate(KeycloakSession session,
RealmModel realm,
ComponentModel oldModel,
ComponentModel newModel) |
default void |
preRemove(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
getCommonProviderConfigProperties, getTypeMetadata, onCreate, validateConfigurationgetId, init, order, postInitgetHelpTextProviderType create(KeycloakSession session)
create in interface ComponentFactory<ProviderType extends Provider,ProviderType extends Provider>create in interface ProviderFactory<ProviderType extends Provider>@Deprecated default ProviderType create(KeycloakSession session, ComponentModel model)
create in interface ComponentFactory<ProviderType extends Provider,ProviderType extends Provider>default List<ProviderConfigProperty> getConfigProperties()
getConfigProperties in interface ConfiguredProviderdefault void onUpdate(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)
onUpdate in interface ComponentFactory<ProviderType extends Provider,ProviderType extends Provider>default void preRemove(KeycloakSession session, RealmModel realm, ComponentModel model)
preRemove in interface ComponentFactory<ProviderType extends Provider,ProviderType extends Provider>default void close()
close in interface ProviderFactory<ProviderType extends Provider>Copyright © 2021 JBoss by Red Hat. All rights reserved.