spring ldap test - custom schema?
-
02-10-2019 - |
Question
Is there a way i can load a custom ldap schema when using org.springframework.ldap.test.TestContextSourceFactoryBean
? E.g. for unit tests?
Solution
Have you tried using an LDIF file via the setLdifFile method?
This is the way RedHat Directory Servers are configured so maybe you can load a custom schema that way.
Just a thought. Let me know if it works.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow