Details
-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Description
1) processes.xml:
<process-engine name="engine3">
<configuration>org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration</configuration>
<properties>
<property name="jdbcUrl">jdbc:h2:mem:activiti3;MVCC=TRUE;TRACE_LEVEL_FILE=0;DB_CLOSE_ON_EXIT=FALSE</property>
<property name="authorizationEnabled">true</property>
</properties>
<!-- this process engine has LDAP support -->
<plugin>
<class>org.camunda.bpm.identity.impl.ldap.LdapIdentityProviderPlugin</class>
<properties>
<property name="serverUrl">ldap://localhost:5026</property>
<property name="managerDn">uid=daniel,ou=office-berlin,o=camunda,c=org</property>
<property name="managerPassword">daniel</property>
<property name="baseDn">o=camunda,c=org</property>
<property name="userSearchBase"></property>
<property name="userSearchFilter">(objectclass=person)</property>
<property name="userIdAttribute">uid</property>
<property name="userFirstnameAttribute">cn</property>
<property name="userLastnameAttribute">sn</property>
<property name="userEmailAttribute">mail</property>
<property name="userPasswordAttribute">userpassword</property>
<property name="groupSearchBase"></property>
<property name="groupSearchFilter">(objectclass=groupOfNames)</property>
<property name="groupIdAttribute">ou</property>
<property name="groupNameAttribute">cn</property>
<property name="groupMemberAttribute">member</property>
</properties>
</plugin>
</process-engine>
The <plugin></plugin> element is parsed into a list of ProcessEnginePluginXml objects. Need to be instantiated & added to Process engine Configuration.
See org.camunda.bpm.container.impl.jmx.deployment.StartProcessEngineStep.configurePlugins(ProcessEngineConfigurationImpl, ProcessEngineXml, ClassLoader)
2) subsystem.xml
adding process engine plugin configurations to subsystem.xml is possible as well.