Tutorial :spring ldap test - custom schema?



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:1

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.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »