Bug 1325986

Summary: Support for custom authentication in RemoteRuntimeEngine configuration
Product: [Retired] JBoss BPMS Platform 6 Reporter: Sal Elrahal <selrahal>
Component: Business CentralAssignee: Marco Rietveld <mrietvel>
Status: CLOSED DEFERRED QA Contact: Lukáš Petrovický <lpetrovi>
Severity: medium Docs Contact:
Priority: high    
Version: 6.3.0CC: alazarot, kverlaen, mrietvel, rrajasek, selrahal, smcgowan, tlivora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1327632 1329766 (view as bug list) Environment:
Last Closed: 2016-05-11 12:25:30 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1327632, 1329766    

Description Sal Elrahal 2016-04-11 14:10:53 UTC
Currently the RemoteRuntimeEngine API only allows a username and password to be specified and works solely with HTTP Basic authentication. For custom authentication we will have access to a session cookie and need to pass that along in every HTTP request to Business Central. The minimal functionality required would be the ability to set a header/cookie value on each http request, although perhaps just an extensible way of modifying the http requests would enable future authentication/authorization extensions.

Comment 3 Tomas Livora 2016-04-20 14:01:08 UTC
Hi Sal,
what kind of custom authentication are you talking about? Can you elaborate a little bit more on how exactly the customer wants to use this?

Comment 4 Marco Rietveld 2016-04-22 22:27:00 UTC
The following has been agreed with with GSS: 

This bug is for the following feature: 

- Allow 1 or more custom headers to be set per kie-remote-client instance to the REST execute method that the kie-remote-client uses. 
- This header will be sent with each HTTP request that the kie-remote-client instance sends. 

No other functionality can be associated with this bugzilla. 
Other functionality besides the functionality described above should be addressed in different bugzillas.

Comment 5 Marco Rietveld 2016-04-22 22:42:28 UTC
Pull request submitted: https://github.com/droolsjbpm/droolsjbpm-integration/pull/453

Comment 7 Marco Rietveld 2016-05-11 12:25:30 UTC
This bug has been rejected for 6.3.0, and a new bug has been made for 6.3.1, so I am closing this bug. 

The issue has been fixed, however. Commits: 

6.4.x: 
https://github.com/droolsjbpm/droolsjbpm-integration/commit/9a6ce0fd

master:
https://github.com/droolsjbpm/droolsjbpm-integration/commit/0a38844e