3 Replies Latest reply on Jul 17, 2015 7:43 AM by abhijitkumar1903

    new users task assignment

    hossam.ahmed

      Hi ,

      i have configured Jbpm 5.4 to use PostgreSQL DB and i can add new users to the DB and the new users can access the console and start processes , my problem is when a task assigned to a user or a group it will not show in Personal Tasks nor Group Tasks except for the users already exist in users.properties

       

      i use the Evaluation process for testing

        • 1. Re: new users task assignment
          swiderski.maciej

          this is because jbpm-console uses application server security realm as the main source of information about user. You could configure the security realm to be other than property file, like ldap or data base and then your new users would be visible automatically. For details about that configuration check documentation of JBoss Application Server.

           

          HTH

          • 2. Re: new users task assignment
            hossam.ahmed

            thanks Maciej

             

            that is my current security

             

            <security-domain name="jbpm-console" cache-type="default"> 

                                <authentication> 

                                    <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required"> 

                                        <module-option name="dsJndiName" value="java:jboss/datasources/jbpmDS"/> 

                                        <module-option name="principalsQuery" value="select userpassword from userlogin where username=?"/> 

                                        <module-option name="rolesQuery" value="select rolename, 'Roles' from userrole where username=?"/> 

                                    </login-module> 

                                </authentication> 

                            </security-domain> 

             

            i can add new users in my DB and the new users can access jbpm-console and start new processes but the task list for the users always empty , when i add a user named "john" or "mary" the task list for them works fine , do i miss anything ?

            • 3. Re: new users task assignment
              abhijitkumar1903

              On which page you made these changes?