I tried this without success:
<code>
<property name="customConnectionParameters">
<map>
<entry key="InitialDirContext" value="Context.REFERRAL" />
</map>
</property>
</code>
When I enter incorrect credentials, I get the message that I could not logged in (that is correct). When I enter correct credentials, simply nothing happens. I get no error message, I still see the Activiti Explorer login screen.
Here is the full configuration:
<code>
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="dataSource" />
<property name="transactionManager" ref="transactionManager" />
<property name="databaseSchemaUpdate" value="true" />
<property name="jobExecutorActivate" value="true" />
<property name="customFormTypes">
<list>
<bean class="org.activiti.explorer.form.UserFormType"/>
<bean class="org.activiti.explorer.form.ProcessDefinitionFormType"/>
<bean class="org.activiti.explorer.form.MonthFormType"/>
</list>
</property>
<property name="configurators">
<list>
<bean class="org.activiti.ldap.LDAPConfigurator">
<!– Server connection params –>
<property name="server" value="ldap://10.120.201.12" />
<property name="port" value="389" />
<property name="user" value="cn=Administrator,cn=Users,dc=ebusiness,dc=local" />
<property name="password" value="****" />
<!– Query params –>
<property name="baseDn" value="ou=ebusiness,dc=ebusiness,dc=local" />
<property name="queryUserByUserId" value="(&(objectClass=person)(cn={0}))" />
<property name="queryUserByFullNameLike" value="(&(objectClass=person)(|({0}=*{1}*)({2}=*{3}*)))" />
<property name="queryGroupsForUser" value="(&(objectClass=group)(cn={0}))" />
<property name="customConnectionParameters">
<map>
<entry key="InitialDirContext" value="Context.REFERRAL" />
</map>
</property>
<!– Attribute config –>
<property name="userIdAttribute" value="cn" />
<property name="userFirstNameAttribute" value="givenName" />
<property name="userLastNameAttribute" value="sn" />
<property name="groupIdAttribute" value="cn" />
<property name="groupNameAttribute" value="cn" />
</bean>
</list>
</property>
</code>
Please, could anyone help?
Thank you very much
Ben