AnsweredAssumed Answered

LDAP with 5.19 REST - Code changes

Question asked by ncoonghe on Mar 22, 2016
Latest reply on Mar 25, 2016 by jbarrez

In Activiti 5.19, in order to use LDAP with the REST module instead of  the Activiti Identity related user/group/membership tables.

Will it work by including the Activiti-ldap related jar file and also by Change the code by commenting the below lines

addSessionFactory(new UserEntityManagerFactory());
addSessionFactory(new GroupEntityManagerFactory());
addSessionFactory(new MembershipEntityManagerFactory());

And adding the below lines instead

addSessionFactory(new LDAPUserManagerFactory(…));
addSessionFactory(new  LDAPGroupManagerFactory(…));
addSessionFactory(new  LDAPMembershipManagerFactory(…));