开发者

spring ldap test - custom schema?

开发者 https://www.devze.com 2022-12-29 02:15 出处:网络
Is there a wa开发者_运维问答y 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 setLd

Is there a wa开发者_运维问答y 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号