Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow business central to connect to kie servers using CFG_KIE_USER a… #1402

Closed
wants to merge 1 commit into from

Conversation

exabrial
Copy link

@exabrial exabrial commented Nov 4, 2019

For simple deployments where keycloak is not used, the UI is broken when a user attempts to see executed process instances. The two PRs I submitted allow to user to connect to the kie server using the CFG_KIE_PASSWORD and CFG_KIE_USER options to the kie servers

@ghost
Copy link

ghost commented Nov 4, 2019

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

@cristianonicolai
Copy link
Contributor

@exabrial would you mind reporting the actual issue you're facing on JIRA https://issues.jboss.org/projects/JBPM ? Connecting to the kie server should propagate the authenticated user from Business Central.

@exabrial
Copy link
Author

exabrial commented Nov 5, 2019

@cristianonicolai The well the issue is the SubjectCredentialsProvider's match() looks at the implementation class. If it ends with *BasicAuthorizationPrincipal, then it would actually propogate. On Wildfly14 the implementation is a sever class namedSimplePrincipal (I think, it was SimpleSomething). This seems pretty fragile in general, hence my patch.

@exabrial
Copy link
Author

exabrial commented Nov 5, 2019

@cristianonicolai
Copy link
Contributor

@exabrial closing this based on the discussion in the JIRA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants