Преглед на файлове

Removed comment about status checking as it is not entirely correct and misleads people.

Luke Taylor преди 17 години
родител
ревизия
a43d054bd7
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      core/src/main/java/org/springframework/security/providers/dao/AbstractUserDetailsAuthenticationProvider.java

+ 0 - 2
core/src/main/java/org/springframework/security/providers/dao/AbstractUserDetailsAuthenticationProvider.java

@@ -133,8 +133,6 @@ public abstract class AbstractUserDetailsAuthenticationProvider implements Authe
 
         preAuthenticationChecks.check(user);
         
-        // This check must come here, as we don't want to tell users
-        // about account status unless they presented the correct credentials
         try {
             additionalAuthenticationChecks(user, (UsernamePasswordAuthenticationToken) authentication);
         } catch (AuthenticationException exception) {