第 62 章 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>
62.1. URI 格式
spring-ldap:springLdapTemplate[?options]
其中 springLdapTemplate 是 Spring LDAP 模板 bean 的名称。在此 bean 中,您要配置用于 LDAP 访问的 URL 和凭证。