Default LDIF file not picked up in LDAP "unboundid" mode #7833
Labels
in: ldap
An issue in spring-security-ldap
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Summary
When using LDAP, if a file matching "*.ldif" exists on the classpath, then it should be used, if no other LDIF file is specified.
However, when using "unboundid" mode, the file on the classpath is not picked up unless explicitly specified.
Sample
This issue can be demonstrated using the LDAP sample with a few modifications.
Firstly, to make the application use "unboundid" mode, replace
runtime apachedsDependencies
withcompile "com.unboundid:unboundid-ldapsdk"
in the gradle file.Then, remove
ldif="classpath:users.ldif"
from thes:ldap-server
element.The integration tests will fail.
The text was updated successfully, but these errors were encountered: