第 321 章 Spring LDAP 组件
作为 Camel 2.11 版本提供
spring-ldap: 组件为 Spring LDAP 提供 Camel 打包程序。
Maven 用户需要将以下依赖项添加到其 pom.xml 中:
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring-ldap</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>321.1. URI 格式
spring-ldap:springLdapTemplate[?options]
其中 springLdapTemplate 是 Spring LDAP Template bean 的名称。在这个 bean 中,您要配置 LDAP 访问的 URL 和凭证。