Use getClass() in logger instantiation in AbstractLdapAuthenticationProvider.
This commit is contained in:
parent
d9ccebd565
commit
1f1faa6da0
|
|
@ -31,7 +31,7 @@ import java.util.*;
|
||||||
* @since 3.1
|
* @since 3.1
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractLdapAuthenticationProvider implements AuthenticationProvider, MessageSourceAware {
|
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();
|
protected MessageSourceAccessor messages = SpringSecurityMessageSource.getAccessor();
|
||||||
private boolean useAuthenticationRequestCredentials = true;
|
private boolean useAuthenticationRequestCredentials = true;
|
||||||
private GrantedAuthoritiesMapper authoritiesMapper = new NullAuthoritiesMapper();
|
private GrantedAuthoritiesMapper authoritiesMapper = new NullAuthoritiesMapper();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue