mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-1115: Ensure LDAP connection is always cleaned up.
This commit is contained in:
@@ -209,6 +209,7 @@ public class AuthenticationProviderService {
|
|||||||
catch (UnsupportedEncodingException e) {
|
catch (UnsupportedEncodingException e) {
|
||||||
logger.error("Unexpected lack of support for UTF-8: {}", e.getMessage());
|
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);
|
logger.debug("Support for UTF-8 (as required by Java spec) not found.", e);
|
||||||
|
disconnect(ldapConnection);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user