Przeglądaj źródła

Corrected wrong error message in ProviderManager.

Luke Taylor 18 lat temu
rodzic
commit
98f6111d06

+ 1 - 1
core/src/main/java/org/springframework/security/providers/ProviderManager.java

@@ -148,7 +148,7 @@ public class ProviderManager extends AbstractAuthenticationManager implements In
 
     private void checkIfValidList(List listToCheck) {
         if ((listToCheck == null) || (listToCheck.size() == 0)) {
-            throw new IllegalArgumentException("A list of AuthenticationManagers is required");
+            throw new IllegalArgumentException("A list of AuthenticationProviders is required");
         }
     }