Package com.nimbusds.common.ldap
Class LDAPServerSetFactory
java.lang.Object
com.nimbusds.common.ldap.LDAPServerSetFactory
LDAP server set factory.
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Method Details
-
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 benull
and contain at least one LDAP server URL.selectionAlgorithm
- The server selection algorithm, ignored (may benull
) 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.
-