[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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.