cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP integration issues

hari
Star Contributor
Star Contributor
All,

I'm sorry but I am re-posting this as I could not see my yesterday's post.

With LDAP configured, I was able to start tomcat and Activiti-Explorer was up.
Now I have a different issue. No matter which user I try with, activiti-explorer always says invalid credentials.

I am attaching a Java file here with which I am validating if my credentials are valid or not.
When I run the java file, my credentials work perfectly fine.

I am also attaching the LDIF file, activiti custom and ui context xml files for your reference.

Can some one tell me whats going wrong in my case?

Thanks,
Hari.
3 REPLIES 3

hari
Star Contributor
Star Contributor
Never mind. I found a way out..

jbarrez
Star Contributor
Star Contributor
Would be good if you could share to solve the problem?

hari
Star Contributor
Star Contributor
The issue for me was that the mail attribute( <property name="userEmailAttribute" value="mail" /> of custom-ui-context ) was not configured in ldap and hence the login was failing. Either removing the mail tag or adding the mail attribute to ldap got it working.

Also the group names I mentioned in activiti-ui-context.xml were incorrect.