소스 검색

Use getClass() in logger instantiation in AbstractLdapAuthenticationProvider.

Luke Taylor 14 년 전
부모
커밋
1f1faa6da0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ldap/src/main/java/org/springframework/security/ldap/authentication/AbstractLdapAuthenticationProvider.java

+ 1 - 1
ldap/src/main/java/org/springframework/security/ldap/authentication/AbstractLdapAuthenticationProvider.java

@@ -31,7 +31,7 @@ import java.util.*;
  * @since 3.1
  */
 public abstract class AbstractLdapAuthenticationProvider implements AuthenticationProvider, MessageSourceAware {
-    protected final Log logger = LogFactory.getLog(LdapAuthenticationProvider.class);
+    protected final Log logger = LogFactory.getLog(getClass());
     protected MessageSourceAccessor messages = SpringSecurityMessageSource.getAccessor();
     private boolean useAuthenticationRequestCredentials = true;
     private GrantedAuthoritiesMapper authoritiesMapper = new NullAuthoritiesMapper();