Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-1938

6.2.0: Remote java API: cannot get tasks assigned to different users

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.3.0
    • 6.2.0
    • Business Central
    • None

      Description of problem:

      Customer wants to use different users for Task operation and for REST authentication. But its not working with BPMS 6.2 release, it fails with below exception:

      org.kie.remote.client.api.exception.RemoteApiException: The user id used
      when retrieving task information (user1) must match the authenticating
      user (user2)!

      This was reported as bZ#1265568 but was closed as a "NOT a BUG".

      However,several customer needs to get this use case to work.
      In fact, the following system property is prepared to bypass this restriction

      -Dorg.kie.task.insecure=true

      but it does not work yet as expected.

      Version-Release number of selected component (if applicable):
      6.2.0

      Steps to Reproduce:
      1. Use one user credentials when using remote APIs
      2. Try to get tasks for another users.

      Actual results:
      org.kie.remote.client.api.exception.RemoteApiException: The user id used when retrieving task information (user1) must match the authenticating user (user2)!

      Expected results:
      It should be possible somehow bypass this check to allow testing processes with tasks assigned to different users.

      Additional info:

              marco.rietveld Marco Rietveld (Inactive)
              rhn-support-hmiura Hiroko Miura
              Tomáš Livora Tomáš Livora (Inactive)
              Tomáš Livora Tomáš Livora (Inactive)
              Abhijit Humbe, Alessandro Lazarotti, Guillaume Nieser (Inactive), Kris Verlaenen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: