Fix for LDAP-84: modified log level for blank userDn and password.

This commit is contained in:
Mattias Arthursson
2007-10-05 10:30:44 +00:00
parent d6aa402e5c
commit 5592827693

View File

@@ -281,10 +281,10 @@ public abstract class AbstractContextSource implements ContextSource,
+ "using default implementation");
if (StringUtils.isBlank(userDn)) {
log
.warn("Property 'userDn' not set - "
.info("Property 'userDn' not set - "
+ "anonymous context will be used for read-write operations");
} else if (StringUtils.isBlank(password)) {
log.warn("Property 'password' not set - "
log.info("Property 'password' not set - "
+ "blank password will be used");
}
authenticationSource = new SimpleAuthenticationSource();