public class LDAPServerSetFactory extends Object
Modifier and Type | Method | Description |
---|---|---|
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.
|
public static com.unboundid.ldap.sdk.ServerSet create(com.unboundid.ldap.sdk.LDAPURL[] url, ServerSelectionAlgorithm selectionAlgorithm, SocketFactory socketFactory, com.unboundid.ldap.sdk.LDAPConnectionOptions opts)
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.Copyright © 2018 Connect2id. All rights reserved.