[jboss-user] [jBPM] - Where is org.jbpm.integration.console.ManagementFactoryImpl?
Márton Steierlein
do-not-reply at jboss.com
Tue Apr 24 10:50:44 EDT 2012
Márton Steierlein [https://community.jboss.org/people/stmarci] created the discussion
"Where is org.jbpm.integration.console.ManagementFactoryImpl?"
To view the discussion, visit: https://community.jboss.org/message/731921#731921
--------------------------------------------------------------
Hi there!
I would like to know which war/jar can I find the implementation of ManagamentFactory. I would like to find a way to implement a proper user management for human tasks in jBPM 5.2 because at the moment the default "UserManagement" class has very unfortunate user and group handling:
import java.util.ArrayList;
import java.util.List;
public class UserManagement implements org.jboss.bpm.console.server.integration.UserManagement {
public List<String> getActorsForGroup(String groupName) {
// TODO: fixme
List<String> result = new ArrayList<String>();
result.add("admin");
return result;
}
public List<String> getGroupsForActor(String actorId) {
// TODO: fixme
List<String> result = new ArrayList<String>();
result.add("admins");
return result;
}
}
If that is possible I would like to replace this implementation with my own and create a new ManagementFactory, but I don't see where this default implementation resides.
Any help would be greatly appreciated.
Márton
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/731921#731921]
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/20120424/4f60d0d9/attachment-0001.html
More information about the jboss-user
mailing list