GUAC-1115: Ensure LDAP connection is always cleaned up.

This commit is contained in:
Michael Jumper
2015-10-23 15:53:04 -07:00
parent 80a6e4cac6
commit 00bf24791f

View File

@@ -209,6 +209,7 @@ public class AuthenticationProviderService {
catch (UnsupportedEncodingException e) {
logger.error("Unexpected lack of support for UTF-8: {}", e.getMessage());
logger.debug("Support for UTF-8 (as required by Java spec) not found.", e);
disconnect(ldapConnection);
return null;
}