Polish "Improve LDAP auto-configuration conditions"
Closes gh-13143
This commit is contained in:
@@ -4539,6 +4539,11 @@ URLs of your server in your application.properties, as shown in the following ex
|
||||
If you need to customize connection settings, you can use the `spring.ldap.base` and
|
||||
`spring.ldap.base-environment` properties.
|
||||
|
||||
A `LdapContextSource` is auto-configured based on these settings. If you need to customize
|
||||
it, for instance to use a `PooledContextSource`, you can still inject the auto-configured
|
||||
`LdapContextSource`. Make sure to flag your customized `ContextSource` as `@Primary` so
|
||||
that the auto-configured `LdapTemplate` uses it.
|
||||
|
||||
|
||||
|
||||
[[boot-features-ldap-spring-data-repositories]]
|
||||
|
||||
Reference in New Issue
Block a user