@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.ldap.core.ContextSource.class) @EnableConfigurationProperties(value=LdapProperties.class) public class LdapAutoConfiguration extends Object
Auto-configuration
for LDAP.Constructor and Description |
---|
LdapAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.ldap.core.support.LdapContextSource |
ldapContextSource(LdapProperties properties,
Environment environment) |
org.springframework.ldap.core.LdapTemplate |
ldapTemplate(org.springframework.ldap.core.ContextSource contextSource) |
@Bean @ConditionalOnMissingBean public org.springframework.ldap.core.support.LdapContextSource ldapContextSource(LdapProperties properties, Environment environment)
@Bean @ConditionalOnMissingBean(value=org.springframework.ldap.core.LdapOperations.class) public org.springframework.ldap.core.LdapTemplate ldapTemplate(org.springframework.ldap.core.ContextSource contextSource)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.