[Hawtio] How to integrate Keycloak in Hawtio as a Fabric profile ?

Solution Verified - Updated -

Issue

When we create a profile to integrate keycloak with a Fuse Fabric in order to secure the Hawtio administration console.
A system property expecting one of the profile json resources (keycloak-hawtio-client.json) to be deployed in the ${karaf.base}/etc:

System Properties : 
      hawtio.realm = keycloak
      hawtio.rolePrincipalClasses =     org.keycloak.adapters.jaas.RolePrincipal,
        org.apache.karaf.jaas.boot.principal.RolePrincipal
      hawtio.keycloakEnabled = true
      hawtio.keycloakClientConfig = ${karaf.base}/etc/keycloak-hawtio-client.json

If we change this property using fabric URL Handler, it doesn't work:

hawtio.keycloakClientConfig = profile:keycloak-hawtio-client.json

Environment

  • Red Hat JBoss Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content