-
Bug
-
Resolution: Done
-
Critical
-
6.2.0
-
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:
- blocks
-
RHBPMS-1406 [GSS](6.2.z) 6.2.0: Remote java API: cannot get tasks assigned to different users
- Verified
- is duplicated by
-
RHBPMS-1406 [GSS](6.2.z) 6.2.0: Remote java API: cannot get tasks assigned to different users
- Verified