Class LdapAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration

@AutoConfiguration @ConditionalOnClass(org.springframework.ldap.core.ContextSource.class) @EnableConfigurationProperties(LdapProperties.class) public class LdapAutoConfiguration extends Object
Since:
1.5.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LdapAutoConfiguration

      public LdapAutoConfiguration()
  • Method Details

    • ldapContextSource

      @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)
    • ldapTemplate

      @Bean @ConditionalOnMissingBean(org.springframework.ldap.core.LdapOperations.class) public org.springframework.ldap.core.LdapTemplate ldapTemplate(LdapProperties properties, org.springframework.ldap.core.ContextSource contextSource)