@AutoConfiguration @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,
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, Environment environment, 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)