KEYCLOAK-1446

Field ... of subresource ... will not be injected according to spec
This commit is contained in:
Stian Thorgersen 2015-06-16 14:02:03 +02:00
parent dedaa24972
commit 5dc2b7b1d5

View file

@ -8,6 +8,7 @@
exclude-result-prefixes="xalan j ds k sec">
<xsl:param name="config"/>
<xsl:variable name="log" select="'urn:jboss:domain:logging:'"/>
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" xalan:indent-amount="4" standalone="no"/>
<xsl:strip-space elements="*"/>
@ -59,6 +60,15 @@
</xsl:copy>
</xsl:template>
<xsl:template match="//*[local-name()='subsystem' and starts-with(namespace-uri(), $log)]">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
<logger category="org.jboss.resteasy.resteasy_jaxrs.i18n">
<level name="ERROR"/>
</logger>
</xsl:copy>
</xsl:template>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />