SEC-2933: Update ProviderManager reference XML to use constructor

This commit is contained in:
Rob Winch 2015-04-20 15:57:04 -05:00
parent d5dfeeca49
commit 1087d19346
1 changed files with 8 additions and 8 deletions

View File

@ -2176,14 +2176,14 @@ If you are using the namespace, an instance of `ProviderManager` is created and
----
<bean id="authenticationManager"
class="org.springframework.security.authentication.ProviderManager">
<property name="providers">
<list>
<ref local="daoAuthenticationProvider"/>
<ref local="anonymousAuthenticationProvider"/>
<ref local="ldapAuthenticationProvider"/>
</list>
</property>
class="org.springframework.security.authentication.ProviderManager">
<constructor-arg>
<list>
<ref local="daoAuthenticationProvider"/>
<ref local="anonymousAuthenticationProvider"/>
<ref local="ldapAuthenticationProvider"/>
</list>
</constructor-arg>
</bean>
----