Hi,
I am trying to connect the LDAP server using Spring boot camunda engine. And for that i have configured my processes.xml as below:
<process-application xmlns="http://www.camunda.org/schema/1.0/ProcessApplication">
<process-engine name="default">
<plugins>
<plugin>
<class>org.camunda.bpm.identity.impl.ldap.plugin.LdapIdentityProviderPlugin</class>
<properties>
<property name="serverUrl">ldap://localhost:10389/</property>
<property name="acceptUntrustedCertificates">false</property>
<property name="allowAnonymousLogin">false</property>
<property name="authorizationCheckEnabled">true</property>
<property name="useSsl">false</property>
<property name="securityAuthentication">simple</property>
<property name="managerDn">uid=admin,ou=system</property>
<property name="managerPassword">secret</property>
<property name="baseDn">ou=system</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="userPasswordAttribute">userPassword</property>
<property name="groupSearchBase">ou=groups</property>
<property name="groupSearchFilter">(objectclass=groupOfNames)</property>
<property name="groupIdAttribute">cn</property>
<property name="groupNameAttribute">cn</property>
<property name="groupMemberAttribute">member</property>
</properties>
</plugin>
<!-- The following plugin allows you to grant administrator authorizations to an existing LDAP user -->
<plugin>
<class>org.camunda.bpm.engine.impl.plugin.AdministratorAuthorizationPlugin</class>
<properties>
<property name="administratorGroupName">camunda_admins</property>
</properties>
</plugin>
</plugins>
</process-engine>
<process-archive name="MyProcess" tenantId="MY.PRC">
<process-engine>default</process-engine>
<properties>
<property name="isDeployChangedOnly">true</property>
<property name="isScanForProcessDefinitions">true</property>
</properties>
</process-archive>
</process-application>
This is leading me to the error while running the application as below:
“org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing ‘Deployment of Process Application application’ => ‘Start process engine default’: Cannot register service org.camunda.bpm.platform.process-engine:type=default with MBeans Container, service with same name already registered.”