【发布时间】:2015-09-16 05:56:09
【问题描述】:
我已经从 SO 问题 Best practice for configuring Spring LdapTemplate via annotations instead of XML? 中得到了设置 LdapContextSource 和 LdapTemplate 的答案,而无需 XML 配置
下面xml的注解方式应该是什么——基于接口自动创建repository beans?
<ldap:repositories base-package="org.springframework.ldap.samples.useradmin.domain" />
【问题讨论】:
标签: annotations spring-boot spring-ldap