public class LDAPConfigurator extends IdmEngineConfigurator
EngineConfigurator that integrates a LDAP system with the Flowable process engine. The LDAP system will be consulted primarily for getting user information and in particular for
fetching groups of a user.
This class is extensible and many methods can be overridden when the default behavior is not fitting your use case.
Check the docs (specifically the setters) to see how this class can be tweaked.| Modifier and Type | Field and Description |
|---|---|
protected LDAPConfiguration |
ldapConfiguration |
idmEngineConfigurationenableMybatisXmlMappingValidation| Constructor and Description |
|---|
LDAPConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeInit(AbstractEngineConfiguration engineConfiguration)
Called before any initialisation has been done.
|
void |
configure(AbstractEngineConfiguration engineConfiguration)
Called when the engine boots up, before it is usable, but after the initialisation of internal objects is done.
|
protected static IdmEngineConfiguration |
getIdmEngineConfiguration(AbstractEngineConfiguration engineConfiguration) |
LDAPConfiguration |
getLdapConfiguration() |
void |
setLdapConfiguration(LDAPConfiguration ldapConfiguration) |
getCustomDeployers, getEntityDeletionOrder, getEntityInsertionOrder, getIdmEngineConfiguration, getMybatisCfgPath, getPriority, setIdmEngineConfigurationcreateDocumentBuilderFactory, getMybatisTypeAliases, getMybatisTypeHandlers, initClock, initCommandContextFactory, initDataSource, initDbProperties, initDbSqlSessionFactory, initEngineConfigurations, initEventDispatcher, initEventRegistryEventConsumers, initialiseCommonProperties, initIdGenerator, initObjectMapper, initServiceConfigurations, initSessionFactories, initVariableTypes, isEnableMybatisXmlMappingValidation, registerCustomDeployers, registerCustomMybatisMappings, setEnableMybatisXmlMappingValidationprotected LDAPConfiguration ldapConfiguration
public void beforeInit(AbstractEngineConfiguration engineConfiguration)
EngineConfiguratorAbstractEngineConfiguration which allows tweaking it programmatically.
An example is the jdbc url. When a EngineConfigurator instance wants to change it, it needs to do it in this method, or otherwise the datasource would already have been created
with the 'old' value for the jdbc url.beforeInit in interface EngineConfiguratorbeforeInit in class AbstractEngineConfiguratorpublic void configure(AbstractEngineConfiguration engineConfiguration)
EngineConfiguratorAbstractEngineConfiguration which allows tweaking it programmatically.
An example is the ldap user/group manager, which is an addition to the engine. No default properties need to be overridden for this (otherwise the
EngineConfigurator.beforeInit(AbstractEngineConfiguration) method should be used) so the logic contained in this method is executed after initialisation of the default objects.
Probably a better name would be 'afterInit' (cfr EngineConfigurator.beforeInit(AbstractEngineConfiguration)), but not possible due to backwards compatibility.configure in interface EngineConfiguratorconfigure in class IdmEngineConfiguratorpublic LDAPConfiguration getLdapConfiguration()
public void setLdapConfiguration(LDAPConfiguration ldapConfiguration)
protected static IdmEngineConfiguration getIdmEngineConfiguration(AbstractEngineConfiguration engineConfiguration)
Copyright © 2023 Flowable. All rights reserved.