[keycloak-user] Spring boot and spring security adapters
Matt H
tsdgcc2087 at outlook.com
Fri Dec 2 15:29:33 EST 2016
Since you are using Spring Boot, I'm going to assume you have a properties file. Just have the file in your classpath and you can set the following property.
keycloak.configurationFile: classpath:keycloak.json
If you don't have a properties file, you can just set it manually:
System.setProperty("keycloak.configurationFile", "classpath:keycloak.json");
________________________________
From: keycloak-user-bounces at lists.jboss.org <keycloak-user-bounces at lists.jboss.org> on behalf of Brian Schwartz <schwartzbj17 at gmail.com>
Sent: Friday, December 2, 2016 2:09 PM
To: keycloak-user
Subject: [keycloak-user] Spring boot and spring security adapters
I'm using keycloak 2.3.0.final spring boot and spring security adapters.
The spring security adapter requires a keycloak.json file to be in web-inf
but i don't have that or web.xml. How do I change where the keycloak
adapter looks for keycloak.json?
_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
keycloak-user Info Page - JBoss Developer<https://lists.jboss.org/mailman/listinfo/keycloak-user>
lists.jboss.org
To see the collection of prior postings to the list, visit the keycloak-user Archives. Using keycloak-user: To post a message to all the list members ...
More information about the keycloak-user
mailing list