-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Description
When following the guideline here:
Spring guides - LDAP
I found out that it's not working because the embedded LDAP server is not starting.
Before checking the complete example (here on the repository) I've debugged the AutoConfiguration class EmbeddedLdapAutoConfiguration
This led me to understand that the the embedded server will only start if the following properties are present in the classpath:
spring.ldap.embedded.ldif=classpath:test-server.ldif
spring.ldap.embedded.port=8389
spring.ldap.embedded.base-dn=dc=springframework,dc=org
This is clear here in the Github example but is missing in the guides of LDAP. Is it possible to improve the guide?
Also, I believe it would be nice to put a log.debug
or even a log.info
when the embedded server is started and in which port it has started.
g4li, blzsaa and PrometheRus