Restructure security projects
[lgpl/argeo-commons.git] / security / modules / org.argeo.security.services / META-INF / spring / osgi.xml
index 204ae5ce4a9df620da7be4e30d15920da0d7a465..80e86bd7b2887083c2f24e1c50563d9facf48cca 100644 (file)
@@ -9,7 +9,8 @@
        <service ref="jsonObjectFactory" interface="org.argeo.server.json.JsonObjectFactory" />\r
        <service ref="securityService" interface="org.argeo.security.ArgeoSecurityService" />\r
 \r
-       <reference id="securityDao" interface="org.argeo.security.ArgeoSecurityDao" />\r
+       <reference id="securityDao" interface="org.argeo.security.ArgeoSecurityDao"\r
+               context-class-loader="service-provider" />\r
 \r
        <service interface="org.argeo.security.ldap.UserNatureMapper">\r
                <beans:bean class="org.argeo.security.ldap.nature.SimpleUserNatureMapper" />\r