Skip to content

Change ActiveDirectoryLdapAuthenticationProvider to use LdapClient#18627

Merged
jzheaux merged 1 commit intospring-projects:mainfrom
therepanic:gh-17291
Mar 2, 2026
Merged

Change ActiveDirectoryLdapAuthenticationProvider to use LdapClient#18627
jzheaux merged 1 commit intospring-projects:mainfrom
therepanic:gh-17291

Conversation

@therepanic
Copy link
Copy Markdown
Contributor

Replaces SpringSecurityLdapTemplate with LdapClient for user search operations.

Closes: gh-17291

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 1, 2026
@therepanic
Copy link
Copy Markdown
Contributor Author

I don't quite understand whether this is breaking Change or not, please take a look at #18627 (comment)

@rwinch
Copy link
Copy Markdown
Member

rwinch commented Feb 2, 2026

FYI I rebased based off origin/main

@jzheaux jzheaux self-assigned this Feb 18, 2026
@jzheaux jzheaux added in: ldap An issue in spring-security-ldap type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 18, 2026
Copy link
Copy Markdown
Contributor

@jzheaux jzheaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, @therepanic! I've left some feedback inline.

Replaces SpringSecurityLdapTemplate with LdapClient for user search
operations.

Closes: spring-projectsgh-17291

Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
@therepanic
Copy link
Copy Markdown
Contributor Author

Thanks for the great review. I've updated the tests and made them more readable, as you described here: #18627 (comment).

Regarding the null result check in #18627 (comment), I've created an issue: spring-projects/spring-ldap#1404. Whether we add this commit to the spring-ldap repository before or after the update, I'll implement the update there.

@therepanic therepanic requested a review from jzheaux March 1, 2026 17:08
@jzheaux jzheaux added this to the 7.1.0-M3 milestone Mar 2, 2026
@jzheaux jzheaux merged commit 30dd328 into spring-projects:main Mar 2, 2026
7 checks passed
@jzheaux
Copy link
Copy Markdown
Contributor

jzheaux commented Mar 2, 2026

Thanks, @therepanic! This is now merged into main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: ldap An issue in spring-security-ldap type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change ActiveDirectoryLdapAuthenticationProvider to use LdapClient

4 participants