File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
examples/features/standard/security-keycloak Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ under the License.
8181 <ignore >${noServer} </ignore >
8282 <noWeb >false</noWeb >
8383 <!-- enable keycloak for hawtio via system property overrides, note use of "console" realm in login.config -->
84- <javaOptions >-Dhawtio.keycloakEnabled=true -Dhawtio.keycloakClientConfig=${ARTEMIS_INSTANCE_ETC_URI} keycloak-js-client.json -Dhawtio.authenticationEnabled=true -Dhawtio.realm=console</javaOptions >
84+ <javaOptions >-Dhawtio.keycloakEnabled=true -Dhawtio.keycloakClientConfig=classpath: keycloak-js-client.json -Dhawtio.authenticationEnabled=true -Dhawtio.realm=console</javaOptions >
8585 <libListWithDeps >
8686 <!-- allow keycloak login module classloading from the artemis lib dir-->
8787 <arg >org.keycloak:keycloak-adapter-core:jar:${version.org.keycloak} </arg >
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ This is achieved with system property overrides, passed via the artemis.profile
107107command to create the broker using the artemis-maven-plugin.
108108
109109 JAVA_ARGS=".. -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal
110- -Dhawtio.keycloakEnabled=true -Dhawtio.keycloakClientConfig=keycloak-js-client.json
110+ -Dhawtio.keycloakEnabled=true -Dhawtio.keycloakClientConfig=classpath: keycloak-js-client.json
111111 -Dhawtio.authenticationEnabled=true -Dhawtio.realm=console"
112112
113113Note the 'hawtio.realm=console' and the 'hawtio.keycloakClientConfig' in 'keycloak-js-client.json' which provides the keycloak
@@ -158,4 +158,4 @@ Navigate to the Info address and send a message. The first sent may fail, the us
158158preferences panel and there is no password stored by default. Configure a password for jdoe in your preferences
159159and send a message to the Info address.
160160
161- The client will get this message, print out the user from the message auth header and exit this example.
161+ The client will get this message, print out the user from the message auth header and exit this example.
You can’t perform that action at this time.
0 commit comments