Class 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.- Since:
- 1.5.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ldap.core.support.LdapContextSource
ldapContextSource
(LdapProperties properties, org.springframework.core.env.Environment environment, org.springframework.beans.factory.ObjectProvider<org.springframework.ldap.core.support.DirContextAuthenticationStrategy> dirContextAuthenticationStrategy) org.springframework.ldap.core.LdapTemplate
ldapTemplate
(LdapProperties properties, org.springframework.ldap.core.ContextSource contextSource)
-
Constructor Details
-
LdapAutoConfiguration
public LdapAutoConfiguration()
-
-
Method Details
-
ldapContextSource
@Bean @ConditionalOnMissingBean public org.springframework.ldap.core.support.LdapContextSource ldapContextSource(LdapProperties properties, org.springframework.core.env.Environment environment, org.springframework.beans.factory.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)
-