Class LDAPConnectionPoolFactory

    • Constructor Detail

    • Method Detail

      • createLDAPConnectionPool

        public com.unboundid.ldap.sdk.LDAPConnectionPool createLDAPConnectionPool()
                                                                           throws GeneralSecurityException,
                                                                                  com.unboundid.ldap.sdk.LDAPException
        Creates a new LDAP connection pool. No initial connections are established, to prevent connect exceptions if the backend is offline at the time the pool is created.
        Returns:
        The LDAP connection pool.
        Throws:
        KeyStoreException - If the key store could not be unlocked (for SSL/StartTLS connections).
        GeneralSecurityException - On a general security exception (for SSL/StartTLS connections).
        com.unboundid.ldap.sdk.LDAPException - If an LDAP exception is encountered (during creation of the initial pooled LDAP connections).