Class EmbeddedLdapAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.ldap.embedded.EmbeddedLdapAutoConfiguration

@AutoConfiguration(before=LdapAutoConfiguration.class) @EnableConfigurationProperties({LdapProperties.class,EmbeddedLdapProperties.class}) @ConditionalOnClass(com.unboundid.ldap.listener.InMemoryDirectoryServer.class) @Conditional(org.springframework.boot.autoconfigure.ldap.embedded.EmbeddedLdapAutoConfiguration.EmbeddedLdapCondition.class) public class EmbeddedLdapAutoConfiguration extends Object
Auto-configuration for Embedded LDAP.
Since:
1.5.0
Author:
EddĂș MelĂ©ndez, Mathieu Ouellet, Raja Kolli
  • Constructor Details

    • EmbeddedLdapAutoConfiguration

      public EmbeddedLdapAutoConfiguration(EmbeddedLdapProperties embeddedProperties)
  • Method Details

    • directoryServer

      @Bean public com.unboundid.ldap.listener.InMemoryDirectoryServer directoryServer(ApplicationContext applicationContext) throws com.unboundid.ldap.sdk.LDAPException
      Throws:
      com.unboundid.ldap.sdk.LDAPException
    • close

      @PreDestroy public void close()