Enhance User authentication in REST API for performing task operation in BPMS 6

Solution Unverified - Updated -

Issue

Some operations in the remote java API and the Rest API has different signatures.
For example:

Java API: taskService.release(Long taskId, String userId)
Rest API: /task/{taskID}/release

The java API has a user to make remote connections, and this user may be different to user that we uses in release task operation. The Rest API only have the request Authorization header for user, and we supposed to the API uses this user and permissions to release tasks.

  • How to use different user for REST API authentication and for task operation ?

Environment

  • Red Hat JBoss BPM Suite
    • 6.0.x
  • Red Hat JBoss BRMS
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.