cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti LDAP Integration.

bsethuramalinga
Champ in-the-making
Champ in-the-making
Hi,

I am trying to get configured with our enterprise LDAP which is Novell E-Directory.  I have followed all the steps suggested by the book, Activiti in Action. Implemented UserManager, GroupManger from the sample code provided in "Activiti In Action" book.

From the debug messages, I am able to see my user-id  is validated with LDAP and the result is positive but still fails to render the Activiti-Explorer. It just hangs at Activiti-Explorer login page. No further error messages. Nothing.

But if I remove LDAP configuration,  everything looks good with KERMIT id and  I am able to see Activiti-Explorer like 'fresh out-of-the-box'

My Setup
Tomcat 7.0.34
Activiti 5.12 or 5.12.1
Browser : IE or Firefox. (Cleared the cache each time before I login).

I had it working with Activiti 5.11 , which I was able to configure for 5.11 but lost the code. ..?
In 5.12, I see the ClassNames for User and Group objects changed to
org.activiti.engine.impl.persistence.entity.User –to–> org.activiti.engine.impl.persistence.entity.UserEntity
org.activiti.engine.impl.persistence.entity.UserManager –to–> org.activiti.engine.impl.persistence.entity.UserEntityManager

Do these changes make a difference..?


Where is the problem….? What is the necessary LDAP(Apache Standard) related JAR files I should have in Tomcat Server Classpath/Activiti-Explorer's WEB-INF/lib folder..?
If possible, please provide complete list of integrating Activiti with enterprise LDAP servers.

Please advise on  how to troubleshoot the problem.   

Any help is appreciated.
4 REPLIES 4

jbarrez
Star Contributor
Star Contributor
The name changes do make a difference, in the sense that you need to extend those classes now instead of the old one. The old ones don't even exist anymore.

Regarding ldap configuration: this question has been asked plenty of times before. I remember that there was an extensive write up of the steps to configure just recently.

trademak
Star Contributor
Star Contributor
The Activiti in Action code has also been updated for the latest Activiti release (5.12.1). So you can get the updated source code from the book's Google code repository.

Best regards,

dsagar1234
Champ in-the-making
Champ in-the-making
As per my information from Stackoverflow , UserManager is replaced by  UserEntityManager and GroupManager by GroupEntityManager in 5.12. So tried to download code for 5.12 from http://code.google.com/p/activitiinaction/downloads/list,but it still extending older classes.Any idea about new code for LDAP integration.

Oops my mistake. Sorry trademak. I got latest code for 5.12 from Google code .Actually i was downloading it from Download tab instead of checking out it from trunk. Below is link if any one wants to download latest code
http://code.google.com/p/activitiinaction/source/checkout