类 LdapAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(org.springframework.ldap.core.ContextSource.class)
@EnableConfigurationProperties(LdapProperties.class)
public class LdapAutoConfiguration
extends Object
Auto-configuration
for LDAP.- 从以下版本开始:
- 1.5.0
- 作者:
- Eddú Meléndez, Vedran Pavic
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.ldap.core.support.LdapContextSource
ldapContextSource
(LdapConnectionDetails connectionDetails, LdapProperties properties, ObjectProvider<org.springframework.ldap.core.support.DirContextAuthenticationStrategy> dirContextAuthenticationStrategy) org.springframework.ldap.core.LdapTemplate
ldapTemplate
(LdapProperties properties, org.springframework.ldap.core.ContextSource contextSource)
-
构造器详细资料
-
LdapAutoConfiguration
public LdapAutoConfiguration()
-
-
方法详细资料
-
ldapContextSource
@Bean @ConditionalOnMissingBean public org.springframework.ldap.core.support.LdapContextSource ldapContextSource(LdapConnectionDetails connectionDetails, LdapProperties properties, ObjectProvider<org.springframework.ldap.core.support.DirContextAuthenticationStrategy> dirContextAuthenticationStrategy) -
ldapTemplate
@Bean @ConditionalOnMissingBean(org.springframework.ldap.core.LdapOperations.class) public org.springframework.ldap.core.LdapTemplate ldapTemplate(LdapProperties properties, org.springframework.ldap.core.ContextSource contextSource)
-