[keycloak-dev] ${...} enclosure in standalone.xml
Michael Gerber
gerbermichi at me.com
Mon Dec 15 09:52:55 EST 2014
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20141215/b0476a7f/attachment.html
More information about the keycloak-dev
mailing list