Skip to content

Commit

Permalink
[Major] Refactoring in BaseLdapPrivilegeHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
eitch committed Oct 10, 2023
1 parent 9cb12e5 commit 6fc822f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private SearchResult searchLdap(String username, DirContext ctx, String userPrin

// the first search is using sAMAccountName
NamingEnumeration<SearchResult> answer = ctx.search(this.searchBase,
LDAP_FILTER_TEMPLATE.formatted(username, SAM_ACCOUNT_NAME, this.additionalFilter), searchControls);
LDAP_FILTER_TEMPLATE.formatted(SAM_ACCOUNT_NAME, username, this.additionalFilter), searchControls);

SearchResult searchResult = null;
while (searchResult == null) {
Expand Down

0 comments on commit 6fc822f

Please sign in to comment.