Add support for multi baseDn

Update LDAP properties and auto-configuration to support multiple
base DN values.

See gh-11764
This commit is contained in:
Eddú Meléndez
2018-01-24 21:49:44 -05:00
committed by Phillip Webb
parent 44ad630de3
commit 270dc2cd72
5 changed files with 162 additions and 19 deletions

View File

@@ -4417,6 +4417,8 @@ follows:
spring.ldap.embedded.base-dn=dc=spring,dc=io
----
WARNING: `spring.ldap.embedded.base-dn` supports multi base DN, so it must define as follows `spring.ldap.embedded.base-dn[0]=dc=spring,dc=io`
By default, the server starts on a random port and triggers the regular LDAP support.
There is no need to specify a `spring.ldap.urls` property.