Package org.ldaptive

Interface ConnectionInitializer

All Known Implementing Classes:
BindConnectionInitializer, FastBindConnectionInitializer

public interface ConnectionInitializer
Provides an interface for initializing connections after they are opened.
  • Method Summary

    Modifier and Type
    Method
    Description
    Initialize the supplied connection.
  • Method Details

    • initialize

      Result initialize(Connection conn) throws LdapException
      Initialize the supplied connection.
      Parameters:
      conn - connection to initialize
      Returns:
      result associated with the initialization or an empty result
      Throws:
      LdapException - if initialization fails