spring ldap test - custom schema?
-
02-10-2019 - |
Pergunta
Is there a way i can load a custom ldap schema when using org.springframework.ldap.test.TestContextSourceFactoryBean
? E.g. for unit tests?
Solução
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.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow