KEYCLOAK-6693 Support external truststore in testsuite

This commit is contained in:
vmuzikar 2018-02-23 12:46:48 +01:00 committed by Pavel Drozd
parent b1d42381cd
commit d70e4740fc
3 changed files with 8 additions and 2 deletions

View file

@ -28,8 +28,8 @@
<spi name="truststore">
<provider name="file" enabled="true">
<properties>
<property name="file" value="${{jboss.home.dir}}/standalone/configuration/keycloak.truststore"/>
<property name="password" value="secret"/>
<property name="file" value="${{auth.server.truststore}}"/>
<property name="password" value="${{auth.server.truststore.password}}"/>
<property name="hostname-verification-policy" value="WILDCARD"/>
<property name="disabled" value="false"/>
</properties>

View file

@ -100,6 +100,8 @@
${auth.server.profile}
${auth.server.feature}
${kie.maven.settings}
-Dauth.server.truststore=${auth.server.truststore}
-Dauth.server.truststore.password=${auth.server.truststore.password}
</property>
<property name="javaVmArguments">
${auth.server.jboss.jvm.debug.args}

View file

@ -62,6 +62,8 @@
<auth.server.memory.settings>-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m</auth.server.memory.settings>
<auth.server.config.property.name>serverConfig</auth.server.config.property.name>
<auth.server.adapter.impl.class>org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</auth.server.adapter.impl.class>
<auth.server.truststore>&#36;{jboss.home.dir}/standalone/configuration/keycloak.truststore</auth.server.truststore>
<auth.server.truststore.password>secret</auth.server.truststore.password>
<auth.server.jboss.artifactId>integration-arquillian-servers-auth-server-${auth.server}</auth.server.jboss.artifactId>
<auth.server.jboss.skip.unpack>${auth.server.undertow}</auth.server.jboss.skip.unpack>
@ -252,6 +254,8 @@
<auth.server.config.property.value>${auth.server.config.property.value}</auth.server.config.property.value>
<auth.server.adapter.impl.class>${auth.server.adapter.impl.class}</auth.server.adapter.impl.class>
<auth.server.jboss.jvm.debug.args>${auth.server.jboss.jvm.debug.args}</auth.server.jboss.jvm.debug.args>
<auth.server.truststore>${auth.server.truststore}</auth.server.truststore>
<auth.server.truststore.password>${auth.server.truststore.password}</auth.server.truststore.password>
<auth.server.profile>${auth.server.profile}</auth.server.profile>
<auth.server.feature>${auth.server.feature}</auth.server.feature>