[keycloak-dev] ${...} enclosure in standalone.xml
Stan Silvert
ssilvert at redhat.com
Mon Dec 15 10:02:16 EST 2014
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 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
>
>
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20141215/d21f46e2/attachment.html
More information about the keycloak-dev
mailing list