Package com.nimbusds.common.ldap
Class LDAPServerSetFactory
- java.lang.Object
-
- com.nimbusds.common.ldap.LDAPServerSetFactory
-
public class LDAPServerSetFactory extends Object
LDAP server set factory.
-
-
Method Summary
All Methods Static Methods Concrete Methods 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.
-
-
-
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 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.
-
-