GUAC-1115: Log failures to bind with search DN.

This commit is contained in:
Michael Jumper
2015-10-23 16:09:54 -07:00
parent bd497c40b1
commit c173929002

View File

@@ -109,6 +109,12 @@ public class AuthenticationProviderService {
confService.getSearchBindPassword()
);
// Warn of failure to find
if (searchConnection == null) {
logger.error("Unable to bind using search DN \"{}\"", searchBindDN);
return null;
}
try {
// Retrieve all DNs associated with the given username