<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 <<a href="mailto:thomas.raehalme@aitiofinland.com" class="">thomas.raehalme@aitiofinland.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class=""><br class="">
On Jan 5, 2016 15:47, "alex orl" <<a href="mailto:alex_orl1079@yahoo.it" class="">alex_orl1079@yahoo.it</a>> wrote:<br class="">
><br class="">
> thanks for answering...<br class="">
> are there other out-of-date configuration instructions?<br class="">
> 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="">> Il Martedì 5 Gennaio 2016 13:35, Thomas Raehalme <<a href="mailto:thomas.raehalme@aitiofinland.com" class="">thomas.raehalme@aitiofinland.com</a>> ha scritto:<br class="">
><br class="">
><br class="">
> Hi!<br class="">
><br class="">
> 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="">
><br class="">
> <bean id="adapterDeploymentContextBean" class="org.keycloak.adapters.springsecurity.AdapterDeploymentContextBean"><br class="">
> <constructor-arg value="/WEB-INF/keycloak.json" /><br class="">
> </bean><br class="">
><br class="">
> 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="">
><br class="">
> Best regards,<br class="">
> Thomas<br class="">
><br class="">
><br class="">
> On Tue, Jan 5, 2016 at 2:25 PM, alex orl <<a href="mailto:alex_orl1079@yahoo.it" class="">alex_orl1079@yahoo.it</a>> wrote:<br class="">
>><br class="">
>><br class="">
>> I'm working on kyecloak 1.7.0 final.<br class="">
>> I'm trying to integrate a new spring secured web application with keycloak sso mechanism.<br class="">
>> Following the last guide reference, specifically the chapter 8.10 i wrote a keycloak-security-context.xml containing the specified configuration.<br class="">
>> When i deploy application i get this error:<br class="">
>><br class="">
>><br class="">
>> 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>()<br class="">
>><br class="">
>><br class="">
>><br class="">
>> Effectively AdapterDeploymentContextBean <br class="">
>><br class="">
>> <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="">
>><br class="">
>> doesn't declare the default constructor.<br class="">
>> What am i missing?<br class="">
>><br class="">
>> _______________________________________________<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="">
>> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" class="">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br class="">
><br class="">
><br class="">
><br class="">
><br class="">
><br class="">
><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>