Files
spring-boot/spring-boot-project
Vedran Pavic dfceede0bc Improve LDAP auto-configuration conditions
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
2018-05-11 17:59:21 +02:00
..
2018-05-11 16:52:29 +01:00
2018-05-11 14:24:13 +02:00
2018-05-04 12:06:19 -07:00
2018-05-11 10:01:30 +02:00
2018-05-11 10:01:30 +02:00
2018-05-11 14:28:38 +02:00