cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP configuration issue

ajax
Champ in-the-making
Champ in-the-making
Hi All,

I have made the configuration required for configuring LDAP with activiti standalone engine. Putting down steps:
1. Added 'customSessionFactories" property inside StandaloneInMemProcessEngineConfiguration with LDAPUserManagerFactory and LDAPGroupManagerFactory.
2. Created classes for LdapUserManager, LdapUserManagerFactory, LdapGroupManager, LdapGroupManagerFactory.
3. With the help of junit trying to call some method, I got this from book-examples of activiti-in-action.

When I do check password which is direct method in LdapUsermanager it do works properly but when I check for group with some name, or user with some name it don't work. I tried to debug it but don't come to the class and result coming up is null.

Can somebody suggest if I am missing anything here to configure or some coding error??

Thanks,
Ajax
2 REPLIES 2

ajax
Champ in-the-making
Champ in-the-making
I am able to login via Activiti-Explorer using LDAP's users, but now when user cache is loading up it uses IdentityService's create user query and create group query and this flow doesn't come to manager code I have created. Is there any other configuration or mapping I have to do to achieve the same? Please help…

jbarrez
Star Contributor
Star Contributor
Hmm good point.
Probably you'll need to provide a custom implementation of the UserCache interface and inject it in the explorer application context.