[jboss-user] [jBPM] - Re: jBPM user management

Tihomir Surdilovic do-not-reply at jboss.com
Thu Sep 15 22:05:10 EDT 2011


Tihomir Surdilovic [http://community.jboss.org/people/tsurdilovic] created the discussion

"Re: jBPM user management"

To view the discussion, visit: http://community.jboss.org/message/626809#626809

--------------------------------------------------------------
Hi Nat, as Demian mentioned, we added a user/group callback interface that users can implement and hook to their  identity management (LDAP, Database, etc). The interface is very simple:

package org.jbpm.task.service;

import java.util.List;

public interface UserGroupCallback {

    boolean existsUser(String userId);

    boolean existsGroup(String groupId);

    List<String> getGroupsForUser(String userId);
}

( https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/main/java/org/jbpm/task/service/UserGroupCallback.java https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/main/java/org/jbpm/task/service/UserGroupCallback.java)

The task service then contacts this user/group callback service whenever necessary. Since this has been added fairly recently we are still working on creating examples and updating the docs. Should be done with that really soon.

Hope this helps.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20110915/e67f4a7a/attachment.html 


More information about the jboss-user mailing list