git-svn-id: https://svn.argeo.org/commons/branches/mbaudier.2.tp@7640
4cfe0d0a-d680-48aa-b62c-
e0a02a3f76cc
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
- <bean id="authenticationManager" class="org.springframework.security.authentication.ProviderManager">
+ <bean id="authenticationManager"
+ class="org.springframework.security.authentication.ProviderManager">
<property name="providers">
<list>
<ref bean="authByAdapterProvider" />
<property name="providers">
<list>
<ref bean="authByAdapterProvider" />
</bean>
<!-- Authentication provider -->
</bean>
<!-- Authentication provider -->
- <bean id="authByAdapterProvider"
- class="org.springframework.security.adapters.AuthByAdapterProvider">
+ <bean id="authByAdapterProvider" class="org.argeo.security.core.InternalAuthenticationProvider">
<description><![CDATA[System authentication]]></description>
<property name="key" value="${argeo.security.systemKey}" />
</bean>
<description><![CDATA[System authentication]]></description>
<property name="key" value="${argeo.security.systemKey}" />
</bean>
initialization himself, in order to prevent the following dependency cycle:
Repository.login() <= AuthenticationManager <= LdapAuthenticationProvider
<= Repository.login() in init() -->
initialization himself, in order to prevent the following dependency cycle:
Repository.login() <= AuthenticationManager <= LdapAuthenticationProvider
<= Repository.login() in init() -->
- <bean id="internalAuthenticationManager" class="org.springframework.security.authentication.ProviderManager">
+ <bean id="internalAuthenticationManager"
+ class="org.springframework.security.authentication.ProviderManager">
<property name="providers">
<list>
<ref bean="authByAdapterProvider" />
<property name="providers">
<list>
<ref bean="authByAdapterProvider" />
<property name="bundleContext" ref="bundleContext" />
</bean>
<property name="bundleContext" ref="bundleContext" />
</bean>
- <bean id="authenticationManager" class="org.springframework.security.authentication.ProviderManager">
+ <bean id="authenticationManager"
+ class="org.springframework.security.authentication.ProviderManager">
<property name="providers">
<list>
<ref bean="authByAdapterProvider" />
<property name="providers">
<list>
<ref bean="authByAdapterProvider" />
<bean name="jcrSecurityModel" class="org.argeo.security.jackrabbit.JackrabbitSecurityModel" />
<bean name="jcrSecurityModel" class="org.argeo.security.jackrabbit.JackrabbitSecurityModel" />
- <bean id="authByAdapterProvider"
- class="org.springframework.security.adapters.AuthByAdapterProvider">
+ <bean id="authByAdapterProvider" class="org.argeo.security.core.InternalAuthenticationProvider">
<description><![CDATA[System authentication]]></description>
<property name="key" value="${argeo.security.systemKey}" />
</bean>
<description><![CDATA[System authentication]]></description>
<property name="key" value="${argeo.security.systemKey}" />
</bean>
himself, in order to prevent the following dependency cycle: Repository.login()
<= AuthenticationManager <= osJcrAuthenticationProvider <= Repository.login()
in init() -->
himself, in order to prevent the following dependency cycle: Repository.login()
<= AuthenticationManager <= osJcrAuthenticationProvider <= Repository.login()
in init() -->
- <bean id="internalAuthenticationManager" class="org.springframework.security.authentication.ProviderManager">
+ <bean id="internalAuthenticationManager"
+ class="org.springframework.security.authentication.ProviderManager">
<property name="providers">
<list>
<ref bean="authByAdapterProvider" />
<property name="providers">
<list>
<ref bean="authByAdapterProvider" />