mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-05 14:03:10 +07:00
add explicit binding (#735)
* add explicit binding * fixup building on windows * reactivate unit test --------- Co-authored-by: Enrice <erich.mauerboeck@ergo-versicherung.at>
This commit is contained in:
+1
@@ -62,6 +62,7 @@ public class LdapAuthenticationHandler implements AuthenticationHandler {
|
||||
if (ldapConnection == null) {
|
||||
return null;
|
||||
}
|
||||
ldapConnection.bind();
|
||||
|
||||
EntryCursor cursor = ldapConnection.search(ConfigUtil.getConfigStringValue(ConfigType.LDAP_BASE_DN),
|
||||
ConfigUtil.getConfigStringValue(ConfigType.LDAP_FILTER).replace("USERNAME", username), SearchScope.SUBTREE);
|
||||
|
||||
Reference in New Issue
Block a user