Class UserAttributeLDAPStorageMapperFactory
java.lang.Object
org.keycloak.storage.ldap.mappers.AbstractLDAPStorageMapperFactory
org.keycloak.storage.ldap.mappers.UserAttributeLDAPStorageMapperFactory
- All Implemented Interfaces:
ComponentFactory<LDAPStorageMapper,
,LDAPStorageMapper> SubComponentFactory<LDAPStorageMapper,
,LDAPStorageMapper> ConfiguredProvider
,ProviderFactory<LDAPStorageMapper>
,LDAPConfigDecorator
,LDAPStorageMapperFactory<LDAPStorageMapper>
- Direct Known Subclasses:
CertificateLDAPStorageMapperFactory
public class UserAttributeLDAPStorageMapperFactory
extends AbstractLDAPStorageMapperFactory
implements LDAPConfigDecorator
- Author:
- Marek Posolda
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final List<ProviderConfigProperty>
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractLDAPStorageMapper
createMapper
(ComponentModel mapperModel, LDAPStorageProvider federationProvider) getConfigProperties
(RealmModel realm, ComponentModel parent) getId()
This is the name of the provider and will be showed in the admin console as an option.void
updateLDAPConfig
(LDAPConfig ldapConfig, ComponentModel mapperModel) void
validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) Called before a component is created or updated.Methods inherited from class org.keycloak.storage.ldap.mappers.AbstractLDAPStorageMapperFactory
checkMandatoryConfigAttribute, close, create, createConfigProperty, createConfigProperty, getTypeMetadata, init, postInit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.component.ComponentFactory
create, getCommonProviderConfigProperties, onUpdate, preRemove
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig
Methods inherited from interface org.keycloak.storage.ldap.mappers.LDAPStorageMapperFactory
onCreate, onParentUpdate
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
Methods inherited from interface org.keycloak.component.SubComponentFactory
getTypeMetadata
-
Field Details
-
PROVIDER_ID
- See Also:
-
configProperties
-
-
Constructor Details
-
UserAttributeLDAPStorageMapperFactory
public UserAttributeLDAPStorageMapperFactory()
-
-
Method Details
-
getHelpText
- Specified by:
getHelpText
in interfaceConfiguredProvider
- Specified by:
getHelpText
in interfaceLDAPStorageMapperFactory<LDAPStorageMapper>
-
getConfigProperties
- Specified by:
getConfigProperties
in interfaceConfiguredProvider
- Specified by:
getConfigProperties
in interfaceLDAPStorageMapperFactory<LDAPStorageMapper>
-
getId
Description copied from interface:LDAPStorageMapperFactory
This is the name of the provider and will be showed in the admin console as an option.- Specified by:
getId
in interfaceLDAPStorageMapperFactory<LDAPStorageMapper>
- Specified by:
getId
in interfaceProviderFactory<LDAPStorageMapper>
-
validateConfiguration
public void validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config) throws ComponentValidationException Description copied from interface:ComponentFactory
Called before a component is created or updated. Allows you to validate the configuration- Specified by:
validateConfiguration
in interfaceComponentFactory<LDAPStorageMapper,
LDAPStorageMapper> - Specified by:
validateConfiguration
in interfaceLDAPStorageMapperFactory<LDAPStorageMapper>
- Throws:
ComponentValidationException
-
createMapper
protected AbstractLDAPStorageMapper createMapper(ComponentModel mapperModel, LDAPStorageProvider federationProvider) - Specified by:
createMapper
in classAbstractLDAPStorageMapperFactory
-
getConfigProperties
- Specified by:
getConfigProperties
in interfaceSubComponentFactory<LDAPStorageMapper,
LDAPStorageMapper>
-
updateLDAPConfig
- Specified by:
updateLDAPConfig
in interfaceLDAPConfigDecorator
-