Add SSL bundle support to LDAP auto-configuration - #51382
Open
dhruv9b wants to merge 1 commit into
Open
Conversation
Signed-off-by: dhruv9b <9bdhruv@gmail.com>
dhruv9b
force-pushed
the
ldap-ssl-bundle-support
branch
from
August 14, 2026 17:06
01a40a4 to
d01bbc5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spring Boot's LDAP auto-configuration currently supports LDAPS URLs, but there is no way to associate a named SSL Bundle with the auto-configured LdapContextSource.
This change adds support for configuring an SSL Bundle through
spring.ldap.ssl.bundle.The implementation:
This allows applications to use dedicated SSL/TLS configuration for LDAP through Spring Boot's existing SSL Bundle infrastructure without replacing the auto-configured LdapContextSource or relying on JVM-wide SSL properties.
The LDAP module tests pass successfully.