keycloak-uncached
KEYCLOAK-9018 add namespaces to add-hawtio.xsl to fix EAP6Fuse6HawtioAdapterTest
12/6/2018 7:24:26 AM
Changes
Details
diff --git a/testsuite/integration-arquillian/servers/app-server/jboss/eap6/src/main/resources/config/fuse/add-hawtio.xsl b/testsuite/integration-arquillian/servers/app-server/jboss/eap6/src/main/resources/config/fuse/add-hawtio.xsl
index cf158c0..8301ede 100644
--- a/testsuite/integration-arquillian/servers/app-server/jboss/eap6/src/main/resources/config/fuse/add-hawtio.xsl
+++ b/testsuite/integration-arquillian/servers/app-server/jboss/eap6/src/main/resources/config/fuse/add-hawtio.xsl
@@ -9,7 +9,8 @@
</xsl:template>
<xsl:template match="//*[local-name()='system-properties']">
- <system-properties>
+ <!--namespaces can be hadcoded here as no other releases of eap6 are planned-->
+ <system-properties xmlns="urn:jboss:domain:1.8">
<property name="hawtio.authenticationEnabled" value="true" />
<property name="hawtio.realm" value="hawtio" />
<property name="hawtio.roles" value="admin,viewer" />
@@ -21,7 +22,7 @@
</xsl:template>
<xsl:template match="//*[local-name()='security-domain' and @name = 'hawtio-domain']">
- <security-domain name="hawtio" cache-type="default">
+ <security-domain name="hawtio" cache-type="default" xmlns="urn:jboss:domain:security:1.2">
<authentication>
<login-module code="org.keycloak.adapters.jaas.BearerTokenLoginModule" flag="required">
<module-option name="keycloak-config-file" value="${{hawtio.keycloakServerConfig}}"/>
@@ -32,7 +33,7 @@
<xsl:template match="//*[local-name()='subsystem' and starts-with(namespace-uri(), $keycloakNamespace)]">
<xsl:copy>
- <secure-deployment name="hawtio.war" />
+ <secure-deployment name="hawtio.war" xmlns="urn:jboss:domain:keycloak:1.1"/>
</xsl:copy>
</xsl:template>