<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1452001547799_2556"><span id="yui_3_16_0_1_1452001547799_2602">thanks for answering...</span></div><div dir="ltr" id="yui_3_16_0_1_1452001547799_2595"><span id="yui_3_16_0_1_1452001547799_2594">are there other out-of-date configuration instructions?</span></div><div dir="ltr" id="yui_3_16_0_1_1452001547799_2593"><span>thanks</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> Il Martedì 5 Gennaio 2016 13:35, Thomas Raehalme <thomas.raehalme@aitiofinland.com> ha scritto:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv1006134467"><div><div dir="ltr"><div>Hi!</div><div><br clear="none"></div><div>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:</div><div><br clear="none"></div><div><div><bean id="adapterDeploymentContextBean" class="org.keycloak.adapters.springsecurity.AdapterDeploymentContextBean"></div></div><div> <constructor-arg value="/WEB-INF/keycloak.json" /></div><div></bean></div><div><br clear="none"></div><div>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.</div><div><br clear="none"></div><div>Best regards,</div><div>Thomas</div><br clear="none"><div class="yiv1006134467gmail_extra"><br clear="none"><div class="yiv1006134467gmail_quote">On Tue, Jan 5, 2016 at 2:25 PM, alex orl <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:alex_orl1079@yahoo.it" target="_blank" href="mailto:alex_orl1079@yahoo.it">alex_orl1079@yahoo.it</a>></span> wrote:<br clear="none"><blockquote class="yiv1006134467gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;"><div class="yiv1006134467yqt6065912203" id="yiv1006134467yqt77214"><div><div style="color:rgb(0,0,0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;background-color:rgb(255,255,255);"><div><br clear="none"></div><div>I'm working on kyecloak 1.7.0 final.</div><div>I'm trying to integrate a new spring secured web application with keycloak sso mechanism.</div><div>Following the last guide reference, specifically the chapter 8.10 i wrote a keycloak-security-context.xml containing the specified configuration.</div><div>When i deploy application i get this error:<br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div dir="ltr">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.<init>()</div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Effectively AdapterDeploymentContextBean <a rel="nofollow" shape="rect" target="_blank" href="https://github.com/keycloak/keycloak/blob/1.7.x/integration/spring-security/src/main/java/org/keycloak/adapters/springsecurity/AdapterDeploymentContextBean.java"><br clear="none"></a></div><div dir="ltr"><br clear="none"></div><div dir="ltr"><a rel="nofollow" shape="rect" target="_blank" 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 clear="none"></div><div><br clear="none"></div><div dir="ltr">doesn't declare the default constructor.</div><div dir="ltr">What am i missing?<br clear="none"></div></div></div></div><br clear="none">_______________________________________________<br clear="none">
keycloak-user mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:keycloak-user@lists.jboss.org" target="_blank" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br clear="none"></blockquote></div><br clear="none"><br clear="all"><div><br clear="none"></div>
</div></div></div></div><br><br></div> </div> </div> </div></div></body></html>