@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.ldap.core.ContextSource.class) @EnableConfigurationProperties(value=LdapProperties.class) public class LdapAutoConfiguration extends java.lang.Object
Auto-configuration for LDAP.| Constructor and Description |
|---|
LdapAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
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) |
org.springframework.ldap.core.LdapTemplate |
ldapTemplate(LdapProperties properties,
org.springframework.ldap.core.ContextSource contextSource) |
@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)
@Bean @ConditionalOnMissingBean(value=org.springframework.ldap.core.LdapOperations.class) public org.springframework.ldap.core.LdapTemplate ldapTemplate(LdapProperties properties, org.springframework.ldap.core.ContextSource contextSource)