<div dir="ltr">I do not want to have to open the war file just to update / change to keycloak credentials.<div>I am right that the <span style="color:rgb(33,33,33);line-height:1.5">WEB-INF sits inside the war file ?</span></div><div><font color="#212121">I would like a single security instance for the entire Jetty server</font></div><div><font color="#212121"><br></font></div><div><font color="#212121">Chris</font></div><div><font color="#212121"><br></font></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 2, 2016 at 12:55 PM Sebastien Blanc <<a href="mailto:sblanc@redhat.com">sblanc@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>Any reasons you don't want to put the keycloak.json in /WEB-INF ? <br></div><br><pre><code> <bean id="adapterDeploymentContext" class="org.keycloak.adapters.springsecurity.AdapterDeploymentContextFactoryBean">
<constructor-arg value="/WEB-INF/keycloak.json" />
</bean></code></pre>Sebi<br></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 2, 2016 at 1:33 PM, Christopher Davies <span dir="ltr"><<a href="mailto:christopher.james.davies@gmail.com" target="_blank">christopher.james.davies@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am looking at linking our legacy app to Keycloak.<div><br></div><div>Currently it is a bespoke jetty server, that only serves our war files.</div><div>The security.xml is set in config of the server directory.</div><div>I have taken the example setting file from <a href="https://keycloak.gitbooks.io/securing-client-applications-guide/content/topics/oidc/java/spring-security-adapter.html" target="_blank">https://keycloak.gitbooks.io/securing-client-applications-guide/content/topics/oidc/java/spring-security-adapter.html</a></div><div><br></div><div>I can see this loading keycloak's spring adapter.</div><div>It fails when searching for Keycloak.json.</div><div><br></div><div>I was hoping to be able to drop the <span style="line-height:1.5">Keycloak.json file in the config directory.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Hope you can be of assistance. Please feel free to ask if I have missed any key information.</span></div><div><span style="line-height:1.5">I am trying to get up to speed on both KeyCloak and SpringSecurity as I am a C++ programmer at heart.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Chris</span></div><div><span style="line-height:1.5"><br></span></div></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div>