S
S
Spring Boot参考指南
搜索
⌃K
Introduction
I. Spring Boot文档
II. 开始
III. 使用Spring Boot
IV. Spring Boot特性
23. SpringApplication
24.外化配置
25. Profiles
26. 日志
27. 开发Web应用
28. 安全
29. 使用SQL数据库
30. 使用NoSQL技术
30.1. Redis
30.2. MongoDB
30.3 Neo4j
30.4 Gemfire
30.5 Solr
30.6 Elasticsearch
30.7 Cassandra
30.8 Couchbase
30.9 LDAP
30.9.1 连接LDAP服务器
30.9.2 Spring Data LDAP仓库
30.9.3 嵌入式内存中LDAP服务器
30.10 InfluxDB
31. 缓存
32. 消息
33. 使用RestTemplate调用REST服务
34. 使用WebClient调用REST服务
35. 验证
36. 发送邮件
37. 使用JTA处理分布式事务
38. Hazelcast
39. Quartz调度器
40. Spring集成
41. Spring Session
42. 基于JMX的监控和管理
43. 测试
44. WebSockets
45. Web Services
46. 创建自己的自动配置
47. Kotlin支持
48. 接下来阅读什么
V. Spring Boot执行器:用于生产环境的特性
VI. 部署到云端
VII. Spring Boot CLI
VIII. 构建工具插件
IX. How-to指南
X.附录
由 GitBook 提供支持

30.9.2 Spring Data LDAP仓库

Spring Data包含了支持LDAP的仓库。Spring Data LDAP的详细情况,请查看他们的参考文档。
你也可以像其它Spring Bean一样,注入一个自动配置的LdapTemplate实例。
@Component
public class MyBean {
​
private final LdapTemplate template;
​
@Autowired
public MyBean(LdapTemplate template) {
this.template = template;
}
​
// ...
​
}
以前
30.9.1 连接LDAP服务器
下一个
30.9.3 嵌入式内存中LDAP服务器
最近更新 3yr ago
复制链接