Browse Source

SEC-2933: Update ProviderManager reference XML to use constructor

Rob Winch 10 years ago
parent
commit
1087d19346
1 changed files with 8 additions and 8 deletions
  1. 8 8
      docs/manual/src/docs/asciidoc/index.adoc

+ 8 - 8
docs/manual/src/docs/asciidoc/index.adoc

@@ -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>
 ----