Skip to content

Default LDIF file not picked up in LDAP "unboundid" mode #7833

Closed
@eleftherias

Description

@eleftherias

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 with compile "com.unboundid:unboundid-ldapsdk" in the gradle file.
Then, remove ldif="classpath:users.ldif" from the s:ldap-server element.
The integration tests will fail.

Metadata

Metadata

Assignees

Labels

in: ldapAn issue in spring-security-ldapstatus: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions