@Configuration @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(LdapProperties properties,
org.springframework.core.env.Environment environment) |
Modifier and Type | Method and Description |
---|---|
org.springframework.ldap.core.support.LdapContextSource |
ldapContextSource() |
org.springframework.ldap.core.LdapTemplate |
ldapTemplate(org.springframework.ldap.core.ContextSource contextSource) |
public LdapAutoConfiguration(LdapProperties properties, org.springframework.core.env.Environment environment)
@Bean @ConditionalOnMissingBean public org.springframework.ldap.core.support.LdapContextSource ldapContextSource()
@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.