Discussion:
[jboss-user] [jBPM] - Re: JBPM5 /LDAP
Deepak Singhvi
2012-08-28 10:30:49 UTC
Permalink
Deepak Singhvi [https://community.jboss.org/people/deepak.singhvi] created the discussion

"Re: JBPM5 /LDAP"

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

--------------------------------------------------------------
Is there any complete example (step by step). All these are very confusion and takes no where, :-/


Deepak
:)
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Deepak Singhvi
2012-08-28 11:50:07 UTC
Permalink
Deepak Singhvi [https://community.jboss.org/people/deepak.singhvi] created the discussion

"Re: JBPM5 /LDAP"

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

--------------------------------------------------------------
I did a try on the Evaluation.bpmn it worked for me.
Details are available here:
https://community.jboss.org/message/756421#756421# https://community.jboss.org/message/756421#
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Sandra Renaud
2012-10-25 12:59:50 UTC
Permalink
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&containerType=14&container=2034]
Maciej Swiderski
2012-10-25 13:05:25 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: JBPM5 /LDAP"

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

--------------------------------------------------------------
init param value should be org.jbpm.task.service.LDAPUserGroupCallbackImpl and not the path to the property file.

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

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Sandra Renaud
2012-10-25 13:13:22 UTC
Permalink
Sandra Renaud [https://community.jboss.org/people/joploya] created the discussion

"Re: JBPM5 /LDAP"

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

--------------------------------------------------------------
Thank you Maciej for this reply.
I will change to it, but I don't understand this syntaxe, I just understand that it is linked to the UserGroupCallback interface but how it works? Where should I put the file.properties so it can be retrieve in human-task.war?

Regards,
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
rehankhan
2013-03-19 13:26:05 UTC
Permalink
rehankhan [https://community.jboss.org/people/rehankhan] created the discussion

"Re: JBPM5 /LDAP"

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

--------------------------------------------------------------
hi sandra...i am facing some problems so can u send me that configuration and how to make changes in jxplorer or apache studio for ldap users.
n if possible than send me a source which you have change.
Thanks.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Sandra Renaud
2013-03-19 14:00:25 UTC
Permalink
Sandra Renaud [https://community.jboss.org/people/joploya] created the discussion

"Re: JBPM5 /LDAP"

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

--------------------------------------------------------------
Hi,

I use jbpm inside a web app so my configuration is not the same as for authenticate users in the jbpm console I suppose.

But if you have configure your ldap server you must have all parameters mentioned in the doc :
http://docs.jboss.org/jbpm/v5.4/userguide/ch.human-tasks.html#d0e5256 http://docs.jboss.org/jbpm/v5.4/userguide/ch.human-tasks.html#d0e5256  -> User information retrieved from LDAP server


Regards,
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
rehankhan
2013-03-20 09:16:11 UTC
Permalink
rehankhan [https://community.jboss.org/people/rehankhan] created the discussion

"Re: JBPM5 /LDAP"

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

--------------------------------------------------------------
hi Sandra,

Can u tell me how to implement jbpm in webapps and can u provide that configuration for ldap.
Thanks.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Sandra Renaud
2013-03-20 09:30:17 UTC
Permalink
Sandra Renaud [https://community.jboss.org/people/joploya] created the discussion

"Re: JBPM5 /LDAP"

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

--------------------------------------------------------------
Please see this thread where we talk about web app architecture :

https://community.jboss.org/message/796438#796438#796438 https://community.jboss.org/message/796438#796438

Regards,
--------------------------------------------------------------

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

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