Adapt to package names changes in Spring Security
[lgpl/argeo-commons.git] / org.argeo.security.auth.ldap / META-INF / spring / security-ldap-services.xml
index 6fcf77dea4759c7c4bf4817618c1aae337523518..105be7df5e60112284880e5eb8337fd965045b1b 100644 (file)
@@ -10,7 +10,7 @@
                                <ref bean="authByAdapterProvider" />
 <!--                           <ref bean="preAuthProvider" /> -->
                                <ref bean="anonymousAuthenticationProvider" />
-                               <ref bean="rememberMeAuthenticationProvider" />
+<!--                           <ref bean="rememberMeAuthenticationProvider" /> -->
                                <ref bean="ldapAuthenticationProvider" />
                        </list>
                </property>
@@ -18,7 +18,7 @@
 
        <!-- Authentication provider -->
        <bean id="authByAdapterProvider"
-               class="org.springframework.security.adapters.AuthByAdapterProvider">
+               class="org.argeo.security.core.InternalAuthenticationProvider">
                <description><![CDATA[System authentication]]></description>
                <property name="key" value="${argeo.security.systemKey}" />
        </bean>
                <property name="key" value="${argeo.security.systemKey}" />
        </bean>
 
-       <bean id="rememberMeAuthenticationProvider"
-               class="org.springframework.security.providers.rememberme.RememberMeAuthenticationProvider">
-               <description><![CDATA[Remember me authentication]]></description>
-               <property name="key" value="${argeo.security.systemKey}" />
-       </bean>
+<!--   <bean id="rememberMeAuthenticationProvider" -->
+<!--           class="org.springframework.security.providers.rememberme.RememberMeAuthenticationProvider"> -->
+<!--           <description><![CDATA[Remember me authentication]]></description> -->
+<!--           <property name="key" value="${argeo.security.systemKey}" /> -->
+<!--   </bean> -->
 
        <!-- Internal authentication, used by during the general authentication 
                initialization himself, in order to prevent the following dependency cycle: