Hi Michael,
Please open a Jira and assign to me.
Stan
On 12/15/2014 9:52 AM, Michael Gerber wrote:
Hi all,
I want to use ${...} enclosure in standalone.xml like the following
example:
<subsystem xmlns="urn:jboss:domain:keycloak:1.0">
<secure-deployment name="app.war">
<realm>xxx</realm>
<resource>xxx</resource>
<realm-public-key>MIGfMA0GCSqGS</realm-public-key>
<auth-server-url>https://localhost:8443/auth</auth-server-url>
<truststore>${jboss.server.config.dir}../../certs/cert.jks</truststore>
<truststore-password>password</truststore-password>
<ssl-required>ALL</ssl-required>
<credential name="secret">6e12d2db</credential>
</secure-deployment>
</subsystem>
But I've got the following error:
Caused by: java.lang.RuntimeException:
org.codehaus.jackson.map.JsonMappingException: Can not deserialize
instance of java.lang.String out of START_OBJECT token
at [Source: java.io.ByteArrayInputStream@27312e38; line: 1, column:
344] (through reference chain:
org.keycloak.representations.adapters.config.AdapterConfig["truststore"])
at
org.keycloak.adapters.KeycloakDeploymentBuilder.loadAdapterConfig(KeycloakDeploymentBuilder.java:102)
at
org.keycloak.adapters.KeycloakDeploymentBuilder.build(KeycloakDeploymentBuilder.java:91)
at
org.keycloak.adapters.undertow.KeycloakServletExtension.handleDeployment(KeycloakServletExtension.java:135)
Does anyone know how to fix this?
Thank you for your help!
Michael
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev