jBPM & Keycloak

65 views
Skip to first unread message

Podunk Man

unread,
Nov 17, 2024, 11:28:52 AM11/17/24
to jBPM Setup
Has anyone managed to integrate jBPM with Keycloak? The instructions seem to be outdated; from what I see, Keycloak has not provided any adapters since 2022, so the archived one they link to probably just won't work. Everything is fine up until the point where the instructions are inserted:

<subsystem xmlns="urn:jboss:domain:keycloak:1.1">
<secure-deployment name="business-central.war">
    <realm>jbpm</realm>
    <realm-public-key>MIIBIjANBgkqhkiG9w0BAQEFAAOCA...</realm-public-key>
    <auth-server-url>http://localhost:8180</auth-server-url>
    <ssl-required>external</ssl-required>
    <resource>kie</resource>
    <enable-basic-auth>true</enable-basic-auth>
    <credential name="secret">BSdvfzvWSEF1Wyxxxxx</credential>
    <principal-attribute>preferred_username</principal-attribute>
  </secure-deployment>
</subsystem>

It generates error:
17:22:55,176 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."business-central.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."business-central.war".DEPENDENCIES: WFLYSRV0153: Failed to process phase DEPENDENCIES of deployment "business-central.war"
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:189)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
        at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)

But still some trick is required to make it works with jBPM




Reply all
Reply to author
Forward
0 new messages