public abstract class AbstractLDAPStorageMapperFactory extends Object implements LDAPStorageMapperFactory<LDAPStorageMapper>
| Constructor and Description |
|---|
AbstractLDAPStorageMapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkMandatoryConfigAttribute(String name,
String displayName,
ComponentModel mapperModel) |
void |
close()
This is called when the server shuts down.
|
LDAPStorageMapper |
create(KeycloakSession session,
ComponentModel model)
called per Keycloak transaction.
|
static ProviderConfigProperty |
createConfigProperty(String name,
String label,
String helpText,
String type,
List<String> options) |
protected abstract AbstractLDAPStorageMapper |
createMapper(ComponentModel mapperModel,
LDAPStorageProvider federationProvider) |
Map<String,Object> |
getTypeMetadata()
This is metadata about this component type.
|
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, waitgetConfigProperties, getHelpText, getId, onCreate, onParentUpdate, validateConfigurationgetConfigProperties, getTypeMetadatacreate, getCommonProviderConfigProperties, onUpdate, preRemoveorderpublic void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<LDAPStorageMapper>init in interface LDAPStorageMapperFactory<LDAPStorageMapper>public LDAPStorageMapper create(KeycloakSession session, ComponentModel model)
LDAPStorageMapperFactorycreate in interface ComponentFactory<LDAPStorageMapper,LDAPStorageMapper>create in interface LDAPStorageMapperFactory<LDAPStorageMapper>protected abstract AbstractLDAPStorageMapper createMapper(ComponentModel mapperModel, LDAPStorageProvider federationProvider)
public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<LDAPStorageMapper>postInit in interface LDAPStorageMapperFactory<LDAPStorageMapper>public Map<String,Object> getTypeMetadata()
ComponentFactorygetTypeMetadata in interface ComponentFactory<LDAPStorageMapper,LDAPStorageMapper>public void close()
ProviderFactoryclose in interface ProviderFactory<LDAPStorageMapper>close in interface LDAPStorageMapperFactory<LDAPStorageMapper>public static ProviderConfigProperty createConfigProperty(String name, String label, String helpText, String type, List<String> options)
protected void checkMandatoryConfigAttribute(String name, String displayName, ComponentModel mapperModel) throws ComponentValidationException
ComponentValidationExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.