Bug 1326015

Summary: Kie Workbench controller access problem when integrated with Kie Server and both are authorized via Keycloak
Product: [Retired] JBoss BPMS Platform 6 Reporter: Pavel Kralik <pkralik>
Component: Business CentralAssignee: Marco Rietveld <mrietvel>
Status: CLOSED NOTABUG QA Contact: Pavel Kralik <pkralik>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: smcgowan
Target Milestone: ---Keywords: TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-11 15:50:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Kralik 2016-04-11 15:17:57 UTC
Description of problem:
Kie Workbench integration with Kie server has forbidden access if both deployments are authorized via Keycloak.

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

How reproducible:
Always

Steps to Reproduce:
1. Configure Keycloak, Kieserver, kie workbench according to [1]
2. kieserver and kiecontroller user in kie-server role
3. run integration: bin/standalone.sh -Dorg.kie.server.id=my_kie_server_id -Dorg.kie.server.user=kieserver -Dorg.kie.server.pwd=kieserver -Dorg.kie.server.location=http://localhost:8080/kie-server/services/rest/server  -Dorg.kie.server.controller=http://localhost:8080/business-central/rest/controller -Dorg.kie.server.controller.user=kiecontroller -Dorg.kie.server.controller.pwd=kiecontroller
4. go to: Deploy > Rule deployments. There should be new server template: my_kie_server_id

Actual results:
No my_kie_server_id template is listed in rule deployments perspective.

Expected results:
my_kie_server_id appears in template in rule deployments perspective.

Additional info:
[1] http://blog.athico.com/2016/03/keycloak-sso-integration-into-jbpm-and.html

Comment 2 Pavel Kralik 2016-04-11 15:50:33 UTC
Configuration problem.