Unable to start a process via REST API due to authentication issue in BPM Suite 6.2.0
Environment
- Red Hat JBoss BPM Suite (BPMS) 6.2.0
Issue
- Unable to start a process via REST Remote API due to authentication issue in BPM Suite 6.2.0.
- Basically it is not possible to use the REST API to start a work flow or to signal an event:
10:10:20,013 ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (http-localhost.localdomain/127.0.0.1:8080-3) RESTEASY000100: Failed executing POST execute: org.jboss.resteasy.spi.UnauthorizedException
Resolution
Starting in BPM Suite 6.2, admin by default does not have access to rest call anymore. It is needed to add rest-all role in $EAP_HOME/standalone/configuration/application-roles.properties for all users that will perform calls via Remote API as follows:
brmsuser=admin,rest-all
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
