mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Merge staging/1.1.0 changes back to master.
This commit is contained in:
@@ -204,6 +204,7 @@ public class AuthenticationProviderService {
|
|||||||
|
|
||||||
// Attempt bind
|
// Attempt bind
|
||||||
LdapNetworkConnection ldapConnection = ldapService.bindAs(bindDn, password);
|
LdapNetworkConnection ldapConnection = ldapService.bindAs(bindDn, password);
|
||||||
|
try {
|
||||||
|
|
||||||
// Retrieve group membership of the user that just authenticated
|
// Retrieve group membership of the user that just authenticated
|
||||||
Set<String> effectiveGroups =
|
Set<String> effectiveGroups =
|
||||||
@@ -219,6 +220,13 @@ public class AuthenticationProviderService {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Always disconnect
|
||||||
|
finally {
|
||||||
|
ldapService.disconnect(ldapConnection);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns parameter tokens generated from LDAP attributes on the user
|
* Returns parameter tokens generated from LDAP attributes on the user
|
||||||
* currently bound under the given LDAP connection. The attributes to be
|
* currently bound under the given LDAP connection. The attributes to be
|
||||||
|
Reference in New Issue
Block a user