【问题标题】:spring ldap test - custom schema?spring ldap 测试 - 自定义模式?
【发布时间】:2010-07-16 04:06:29
【问题描述】:

有没有办法在使用org.springframework.ldap.test.TestContextSourceFactoryBean 时加载自定义 ldap 架构?例如。用于单元测试?

【问题讨论】:

    标签: java unit-testing spring-ldap


    【解决方案1】:

    您是否尝试过通过setLdifFile method? 使用 LDIF 文件

    这是RedHat Directory Servers are configured 的方式,所以也许您可以通过这种方式加载自定义架构。

    只是一个想法。让我知道它是否有效。

    【讨论】:

    猜你喜欢
    • 2015-02-16
    • 2015-05-14
    • 1970-01-01
    • 2014-04-15
    • 2016-08-05
    • 2022-01-04
    • 1970-01-01
    • 1970-01-01
    • 2011-07-08
    相关资源
    最近更新 更多