• Vedran Pavic's avatar
    Improve LDAP auto-configuration conditions · dfceede0
    Vedran Pavic authored
    At present, auto-configuration of `LdapContextSource` is conditional on
    presence of a `ContextSource` bean. However, there are valid use cases
    which require multiple `ContextSource` bean, for instance
    `PooledContextSource`. With the current arrangement, the
    auto-configuration of `LdapContextSource` will back off if user provides
    a `PooledContextSource` bean, while it would still be reasonable to
    reuse the auto-configured `LdapContextSource`.
    
    This commit improves `LdapContextSource` factory method return value and
    condition to back off only if users actually provide a
    `LdapContextSource` bean themselves.
    
    See gh-13143
    dfceede0
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...