[jboss-user] [jBPM] - Re: JBPM + LDAP - can login, but HumanTask error appears in the jboss log

Maciej Swiderski do-not-reply at jboss.com
Tue May 28 05:51:59 EDT 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: JBPM + LDAP - can login, but HumanTask error appears in the jboss log"

To view the discussion, visit: https://community.jboss.org/message/819818#819818

--------------------------------------------------------------
when you look at the  http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/identity/LDAPUserGroupCallbackImpl.html java docs for the ldap callback, you'll notice that some of the parameters are mandatory. In fact both ldap.user.ctx and ldap.role.ctx are mandatory. So you need to specify what is the context in ldap that callback should search in for users and groups/roles. Once you specify that it should be able to access and fetch data correctly. You could simplify tests of the correct ldap settings by creating  https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/identity/LDAPUserGroupCallbackImplTest.java similar tests that jbpm has.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/819818#819818]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130528/2199d8fa/attachment.html 


More information about the jboss-user mailing list