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