KEYCLOAK-5106 Fix BasicSamlTest on auth-server-wildfly

This commit is contained in:
Hynek Mlnarik 2017-06-28 20:47:43 +02:00
parent 6b846b53e4
commit 5e16a32f86
2 changed files with 13 additions and 1 deletions

View file

@ -36,6 +36,15 @@
</provider>
</spi>
</xsl:variable>
<xsl:variable name="samlPortsDefinition">
<spi name="login-protocol">
<provider name="saml" enabled="true">
<properties>
<property name="knownProtocols" value="[&quot;http=${{auth.server.http.port}}&quot;,&quot;https=${{auth.server.https.port}}&quot;]"/>
</properties>
</provider>
</spi>
</xsl:variable>
<xsl:variable name="themeModuleDefinition">
<modules>
<module>org.keycloak.testsuite.integration-arquillian-testsuite-providers</module>
@ -60,11 +69,12 @@
</xsl:copy>
</xsl:template>
<!--inject truststore-->
<!--inject truststore and SAML port-protocol mappings-->
<xsl:template match="//*[local-name()='subsystem' and starts-with(namespace-uri(), $nsKS)]">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
<xsl:copy-of select="$truststoreDefinition"/>
<xsl:copy-of select="$samlPortsDefinition"/>
</xsl:copy>
</xsl:template>

View file

@ -68,6 +68,8 @@
<property name="jbossArguments">
-Djboss.socket.binding.port-offset=${auth.server.port.offset}
-Djboss.bind.address=0.0.0.0
-Dauth.server.http.port=${auth.server.http.port}
-Dauth.server.https.port=${auth.server.https.port}
${adapter.test.props}
${migration.import.properties}
${auth.server.profile}