Sandra Renaud [
https://community.jboss.org/people/joploya] created the discussion
"Re: JBPM5 /LDAP"
To view the discussion, visit:
https://community.jboss.org/message/772327#772327
--------------------------------------------------------------
Hi all,
I encounter difficulty to add LDAP auhentification with the Human Task web service. So I
post on this thread and I hope I'm right.
So, I follow both of jbpm 5.3 documentation and the Maciej explanations here :
http://mswiderski.blogspot.fr/2012/05/jbpm-53-brings-ldap-into-picture.html
http://mswiderski.blogspot.fr/2012/05/jbpm-53-brings-ldap-into-picture.html
In the human-task war I added a folder (service) :
jbpm-human-task-war-5.3.0.Final.war\WEB-INF\classes\org\jbpm\task\service\
and paste a file : jbpm.usergroup.callback.properties, that contains the followings :
#ldap.bind.user=
#ldap.bind.pwd=
ldap.user.ctx=ou\=people,dc\=myJobDomain,dc\=com
ldap.role.ctx=ou\=groups,dc\=myJobDomain,dc\=com
ldap.user.filter=(uid\={0})
ldap.role.filter=(cn\={xxx})
ldap.user.roles.filter=(member\={0})
#ldap.user.attr.id=
#ldap.roles.attr.id=
java.naming.provider.url=ldap://ldap.myJob.com:389
I also modify the web.xml to :
<!-- use org.jbpm.task.service.DefaultUserGroupCallbackImpl to configure sample
user group callback for demo purpose-->
<init-param>
<param-name>user.group.callback.class</param-name>
<param-value>classpath:/org/jbpm/task/service/jbpm.usergroup.callback.properties</param-value>
</init-param>
But when I deploy the war in jboss serveur it failed with a class not found message error
as below :
Caused by: java.lang.ClassNotFoundException:
classpath:/org/jbpm/task/service/jbpm.usergroup.callback.properties
Can anyone tell me what I do wrong please?
Regards
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/772327#772327]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]