Integrate LDAP and JCR
[lgpl/argeo-commons.git] / security / modules / org.argeo.security.dao.ldap / META-INF / spring / ldap.xml
index fdf216444959cc4debf337431a249f3357e3774e..02ee71b1d44dfc562759038e39a385b65be16220 100644 (file)
@@ -30,9 +30,7 @@
                <constructor-arg>
                        <bean factory-bean="securityDao" factory-method="getAuthoritiesPopulator" />
                </constructor-arg>
-               <property name="userDetailsContextMapper">
-                       <bean factory-bean="securityDao" factory-method="getUserDetailsMapper" />
-               </property>
+               <property name="userDetailsContextMapper" ref="jcrUserDetailsContextMapper" />
        </bean>
 
        <bean id="securityDao" class="org.argeo.security.ldap.ArgeoSecurityDaoLdap">