Bug 1003876 - Getting 401 unauthorized when starting a process instance via REST with kie-services-client
Summary: Getting 401 unauthorized when starting a process instance via REST with kie-s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER4
: 6.0.0
Assignee: Marco Rietveld
QA Contact: Radovan Synek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-03 12:16 UTC by Radovan Synek
Modified: 2016-09-20 05:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:12:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Radovan Synek 2013-09-03 12:16:00 UTC
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:
https://github.com/droolsjbpm/droolsjbpm-integration/commit/0ae835d6c5217a15a7b6aedb043d77339db945ce

but this commit isn't a part of ER2 build.

Version-Release number of selected component (if applicable):
6.0.0.ER2

Comment 1 Marek Baluch 2013-09-03 12:37:12 UTC
Workaround exists - It's required to remove security. Please decide weather this should be fixed for Beta.

Comment 2 Marco Rietveld 2013-09-04 14:29:47 UTC
This is fixed in the community CR3 build, by the commit referenced above.

Comment 3 Radovan Synek 2013-09-04 14:34:49 UTC
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

Comment 8 Radovan Synek 2013-10-15 12:37:31 UTC
Verified on BPMS-6.0.0.ER4


Note You need to log in before you can comment on or make changes to this bug.