类 LdapAutoConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration
@Configuration @ConditionalOnClass(org.springframework.ldap.core.ContextSource.class) @EnableConfigurationProperties(LdapProperties.class) public class LdapAutoConfiguration extends Object
Auto-configuration
for LDAP.- 从以下版本开始:
- 1.5.0
构造器概要
构造器 构造器 说明 LdapAutoConfiguration(LdapProperties properties, org.springframework.core.env.Environment environment)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.ldap.core.support.LdapContextSource
ldapContextSource()
org.springframework.ldap.core.LdapTemplate
ldapTemplate(org.springframework.ldap.core.ContextSource contextSource)
构造器详细资料
LdapAutoConfiguration
public LdapAutoConfiguration(LdapProperties properties, org.springframework.core.env.Environment environment)
方法详细资料
ldapContextSource
@Bean @ConditionalOnMissingBean public org.springframework.ldap.core.support.LdapContextSource ldapContextSource()
ldapTemplate
@Bean @ConditionalOnMissingBean(org.springframework.ldap.core.LdapOperations.class) public org.springframework.ldap.core.LdapTemplate ldapTemplate(org.springframework.ldap.core.ContextSource contextSource)