Class LDAPServerSetFactory

    • Method Detail

      • create

        public static com.unboundid.ldap.sdk.ServerSet create​(com.unboundid.ldap.sdk.LDAPURL[] url,
                                                              ServerSelectionAlgorithm selectionAlgorithm,
                                                              SocketFactory socketFactory,
                                                              com.unboundid.ldap.sdk.LDAPConnectionOptions opts)
        Creates an LDAP server set from the specified configuration parameters.
        Parameters:
        url - The LDAP server URLs array. Must not be null and contain at least one LDAP server URL.
        selectionAlgorithm - The server selection algorithm, ignored (may be null) if a single LDAP server URL is specified.
        socketFactory - The socket factory, null to use the default one.
        opts - The LDAP connection options, null to use the default.