@Configuration @ConditionalOnClass(value={javax.naming.ldap.LdapContext.class,org.springframework.data.ldap.repository.LdapRepository.class}) public class LdapDataAutoConfiguration extends Object
Auto-configuration
for Spring Data's LDAP support.Constructor and Description |
---|
LdapDataAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.ldap.core.LdapTemplate |
ldapTemplate(org.springframework.ldap.core.ContextSource contextSource) |
@Bean @ConditionalOnMissingBean(value=org.springframework.ldap.core.LdapOperations.class) public org.springframework.ldap.core.LdapTemplate ldapTemplate(org.springframework.ldap.core.ContextSource contextSource)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.