Red Hat Bugzilla – Bug 1003876
Getting 401 unauthorized when starting a process instance via REST with kie-services-client
Last modified: 2016-09-20 01:04:57 EDT
Description of problem:
kie-services-client cannot authenticate with business central using valid EAP6 user account with kie-user role. Every request ends up with "401 unauthorized". This issue is probably fixed by following commit:
but this commit isn't a part of ER2 build.
Version-Release number of selected component (if applicable):
Workaround exists - It's required to remove security. Please decide weather this should be fixed for Beta.
This is fixed in the community CR3 build, by the commit referenced above.
The workaround Marek stated in comment 1 has two steps:
1. comment out url-pattern /rest/* in filter-mapping for UberFire Security Filter in web.xml
2. use AuthenticationType.NONE when instantiating the kie-services-client for REST
Verified on BPMS-6.0.0.ER4