<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The documentation should be correct for current release builds.<div class=""><br class=""><div class="">
<div class="">Scott Rossillo</div><div class="">Smartling | Senior Software Engineer</div><div class=""><a href="mailto:srossillo@smartling.com" class="">srossillo@smartling.com</a></div><div class=""><br class=""></div><div class=""><br class=""><span style="color: rgb(169, 169, 169); font-family: gesta, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; widows: 1; background-color: rgb(255, 255, 255);" class=""></span><div id="watermark" style="box-sizing: border-box; color: rgb(169, 169, 169); font-family: gesta, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; widows: 1; background-color: rgb(255, 255, 255);" class=""><a href="http://www.sigstr.com/" style="box-sizing: border-box; color: rgb(0, 124, 194); text-decoration: none; background-color: transparent; outline: 0px !important;" class=""><img alt="Powered by Sigstr" border="0" src="https://app.sigstr.com/uc/55e5d41c6533390d03580000/watermark" style="box-sizing: border-box; border: 0px; vertical-align: top; max-width: 100%; height: auto; width: inherit; color: rgb(99, 99, 99); font-family: Helvetica; font-size: 11px;" class=""></a></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 5, 2016, at 9:45 AM, Thomas Raehalme &lt;<a href="mailto:thomas.raehalme@aitiofinland.com" class="">thomas.raehalme@aitiofinland.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class=""><br class="">
On Jan 5, 2016 15:47, "alex orl" &lt;<a href="mailto:alex_orl1079@yahoo.it" class="">alex_orl1079@yahoo.it</a>&gt; wrote:<br class="">
&gt;<br class="">
&gt; thanks for answering...<br class="">
&gt; are there other out-of-date configuration instructions?<br class="">
&gt; thanks</p><p dir="ltr" class="">Not that I know of.</p><p dir="ltr" class="">Best regards,<br class="">
Thomas<br class=""><br class=""><br class=""><br class=""></p><p dir="ltr" class="">&gt; Il Martedì 5 Gennaio 2016 13:35, Thomas Raehalme &lt;<a href="mailto:thomas.raehalme@aitiofinland.com" class="">thomas.raehalme@aitiofinland.com</a>&gt; ha scritto:<br class="">
&gt;<br class="">
&gt;<br class="">
&gt; Hi!<br class="">
&gt;<br class="">
&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 class="">
&gt;<br class="">
&gt; &lt;bean id="adapterDeploymentContextBean" class="org.keycloak.adapters.springsecurity.AdapterDeploymentContextBean"&gt;<br class="">
&gt; &nbsp; &nbsp; &lt;constructor-arg value="/WEB-INF/keycloak.json" /&gt;<br class="">
&gt; &lt;/bean&gt;<br class="">
&gt;<br class="">
&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 class="">
&gt;<br class="">
&gt; Best regards,<br class="">
&gt; Thomas<br class="">
&gt;<br class="">
&gt;<br class="">
&gt; On Tue, Jan 5, 2016 at 2:25 PM, alex orl &lt;<a href="mailto:alex_orl1079@yahoo.it" class="">alex_orl1079@yahoo.it</a>&gt; wrote:<br class="">
&gt;&gt;<br class="">
&gt;&gt;<br class="">
&gt;&gt; I'm working on kyecloak 1.7.0 final.<br class="">
&gt;&gt; I'm trying to integrate a new spring secured web application with keycloak sso mechanism.<br class="">
&gt;&gt; Following the last guide reference, specifically the chapter 8.10 i wrote a keycloak-security-context.xml containing the specified configuration.<br class="">
&gt;&gt; When i deploy application i get this error:<br class="">
&gt;&gt;<br class="">
&gt;&gt;<br class="">
&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 class="">
&gt;&gt;<br class="">
&gt;&gt;<br class="">
&gt;&gt;<br class="">
&gt;&gt; Effectively AdapterDeploymentContextBean <br class="">
&gt;&gt;<br class="">
&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" class="">https://github.com/keycloak/keycloak/blob/1.7.x/integration/spring-security/src/main/java/org/keycloak/adapters/springsecurity/AdapterDeploymentContextBean.java</a><br class="">
&gt;&gt;<br class="">
&gt;&gt; doesn't declare the default constructor.<br class="">
&gt;&gt; What am i missing?<br class="">
&gt;&gt;<br class="">
&gt;&gt; _______________________________________________<br class="">
&gt;&gt; keycloak-user mailing list<br class="">
&gt;&gt; <a href="mailto:keycloak-user@lists.jboss.org" class="">keycloak-user@lists.jboss.org</a><br class="">
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" class="">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br class="">
&gt;<br class="">
&gt;<br class="">
&gt;<br class="">
&gt;<br class="">
&gt;<br class="">
&gt;<br class="">
</p>
_______________________________________________<br class="">keycloak-user mailing list<br class=""><a href="mailto:keycloak-user@lists.jboss.org" class="">keycloak-user@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/keycloak-user</div></blockquote></div><br class=""></div></body></html>