<p dir="ltr"><br>
On Jan 5, 2016 15:47, &quot;alex orl&quot; &lt;<a href="mailto:alex_orl1079@yahoo.it">alex_orl1079@yahoo.it</a>&gt; wrote:<br>
&gt;<br>
&gt; thanks for answering...<br>
&gt; are there other out-of-date configuration instructions?<br>
&gt; thanks</p>
<p dir="ltr">Not that I know of.</p>
<p dir="ltr">Best regards,<br>
Thomas<br><br><br><br></p>
<p dir="ltr">&gt; Il Martedì 5 Gennaio 2016 13:35, Thomas Raehalme &lt;<a href="mailto:thomas.raehalme@aitiofinland.com">thomas.raehalme@aitiofinland.com</a>&gt; ha scritto:<br>
&gt;<br>
&gt;<br>
&gt; Hi!<br>
&gt;<br>
&gt; I think the documentation is a bit out of date on this one. You should provide path to keycloak.json as the constructor argument, eg:<br>
&gt;<br>
&gt; &lt;bean id=&quot;adapterDeploymentContextBean&quot; class=&quot;org.keycloak.adapters.springsecurity.AdapterDeploymentContextBean&quot;&gt;<br>
&gt;     &lt;constructor-arg value=&quot;/WEB-INF/keycloak.json&quot; /&gt;<br>
&gt; &lt;/bean&gt;<br>
&gt;<br>
&gt; Also, please note that in the upcoming version 1.8.0.Final there will be a change regarding this configuration. The documentation has been updated to match the new code.<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Thomas<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jan 5, 2016 at 2:25 PM, alex orl &lt;<a href="mailto:alex_orl1079@yahoo.it">alex_orl1079@yahoo.it</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m working on kyecloak 1.7.0 final.<br>
&gt;&gt; I&#39;m trying to integrate a new spring secured web application with keycloak sso mechanism.<br>
&gt;&gt; Following the last guide reference, specifically the chapter 8.10 i wrote a keycloak-security-context.xml containing the specified configuration.<br>
&gt;&gt; When i deploy application i get this error:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.keycloak.adapters.springsecurity.AdapterDeploymentContextBean]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.keycloak.adapters.springsecurity.AdapterDeploymentContextBean.&lt;init&gt;()<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Effectively AdapterDeploymentContextBean <br>
&gt;&gt;<br>
&gt;&gt; <a href="https://github.com/keycloak/keycloak/blob/1.7.x/integration/spring-security/src/main/java/org/keycloak/adapters/springsecurity/AdapterDeploymentContextBean.java">https://github.com/keycloak/keycloak/blob/1.7.x/integration/spring-security/src/main/java/org/keycloak/adapters/springsecurity/AdapterDeploymentContextBean.java</a><br>
&gt;&gt;<br>
&gt;&gt; doesn&#39;t declare the default constructor.<br>
&gt;&gt; What am i missing?<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; keycloak-user mailing list<br>
&gt;&gt; <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</p>