Class AbstractLDAPStorageMapperFactory
- java.lang.Object
- 
- org.keycloak.storage.ldap.mappers.AbstractLDAPStorageMapperFactory
 
- 
- All Implemented Interfaces:
- ComponentFactory<LDAPStorageMapper,LDAPStorageMapper>,- SubComponentFactory<LDAPStorageMapper,LDAPStorageMapper>,- ConfiguredProvider,- ProviderFactory<LDAPStorageMapper>,- LDAPStorageMapperFactory<LDAPStorageMapper>
 - Direct Known Subclasses:
- FullNameLDAPStorageMapperFactory,- GroupLDAPStorageMapperFactory,- HardcodedAttributeMapperFactory,- HardcodedLDAPAttributeMapperFactory,- HardcodedLDAPGroupStorageMapperFactory,- HardcodedLDAPRoleStorageMapperFactory,- MSADLDSUserAccountControlStorageMapperFactory,- MSADUserAccountControlStorageMapperFactory,- RoleLDAPStorageMapperFactory,- UserAttributeLDAPStorageMapperFactory
 
 public abstract class AbstractLDAPStorageMapperFactory extends Object implements LDAPStorageMapperFactory<LDAPStorageMapper> - Author:
- Marek Posolda
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractLDAPStorageMapperFactory()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckMandatoryConfigAttribute(String name, String displayName, ComponentModel mapperModel)voidclose()This is called when the server shuts down.LDAPStorageMappercreate(KeycloakSession session, ComponentModel model)called per Keycloak transaction.static ProviderConfigPropertycreateConfigProperty(String name, String label, String helpText, String type, List<String> options)protected abstract AbstractLDAPStorageMappercreateMapper(ComponentModel mapperModel, LDAPStorageProvider federationProvider)Map<String,Object>getTypeMetadata()This is metadata about this component type.voidinit(Config.Scope config)Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory)Called after all provider factories have been initialized- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.component.ComponentFactorycreate, getCommonProviderConfigProperties, onUpdate, preRemove
 - 
Methods inherited from interface org.keycloak.provider.ConfiguredProvidergetConfig
 - 
Methods inherited from interface org.keycloak.storage.ldap.mappers.LDAPStorageMapperFactorygetConfigProperties, getHelpText, getId, onCreate, onParentUpdate, validateConfiguration
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
 - 
Methods inherited from interface org.keycloak.component.SubComponentFactorygetConfigProperties, getTypeMetadata
 
- 
 
- 
- 
- 
Method Detail- 
initpublic void init(Config.Scope config) Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
- initin interface- LDAPStorageMapperFactory<LDAPStorageMapper>
- Specified by:
- initin interface- ProviderFactory<LDAPStorageMapper>
 
 - 
createpublic LDAPStorageMapper create(KeycloakSession session, ComponentModel model) Description copied from interface:LDAPStorageMapperFactorycalled per Keycloak transaction.- Specified by:
- createin interface- ComponentFactory<LDAPStorageMapper,LDAPStorageMapper>
- Specified by:
- createin interface- LDAPStorageMapperFactory<LDAPStorageMapper>
 
 - 
createMapperprotected abstract AbstractLDAPStorageMapper createMapper(ComponentModel mapperModel, LDAPStorageProvider federationProvider) 
 - 
postInitpublic void postInit(KeycloakSessionFactory factory) Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- LDAPStorageMapperFactory<LDAPStorageMapper>
- Specified by:
- postInitin interface- ProviderFactory<LDAPStorageMapper>
 
 - 
getTypeMetadatapublic Map<String,Object> getTypeMetadata() Description copied from interface:ComponentFactoryThis is metadata about this component type. Its really configuration information about the component type and not an individual instance- Specified by:
- getTypeMetadatain interface- ComponentFactory<LDAPStorageMapper,LDAPStorageMapper>
- Returns:
 
 - 
closepublic void close() Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- LDAPStorageMapperFactory<LDAPStorageMapper>
- Specified by:
- closein interface- ProviderFactory<LDAPStorageMapper>
 
 - 
createConfigPropertypublic static ProviderConfigProperty createConfigProperty(String name, String label, String helpText, String type, List<String> options) 
 - 
checkMandatoryConfigAttributeprotected void checkMandatoryConfigAttribute(String name, String displayName, ComponentModel mapperModel) throws ComponentValidationException - Throws:
- ComponentValidationException
 
 
- 
 
-