Class 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.- Since:
- 1.5.0
Constructor Summary
Constructors Constructor Description LdapAutoConfiguration(LdapProperties properties, org.springframework.core.env.Environment environment)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.ldap.core.support.LdapContextSource
ldapContextSource()
org.springframework.ldap.core.LdapTemplate
ldapTemplate(org.springframework.ldap.core.ContextSource contextSource)
Constructor Detail
LdapAutoConfiguration
public LdapAutoConfiguration(LdapProperties properties, org.springframework.core.env.Environment environment)
Method Detail
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)