소스 검색

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) {