문제

Is there a way i can load a custom ldap schema when using org.springframework.ldap.test.TestContextSourceFactoryBean? E.g. for unit tests?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top