0 Replies Latest reply on Apr 24, 2012 10:50 AM by stmarci

    Where is org.jbpm.integration.console.ManagementFactoryImpl?

    stmarci

      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