| Package | Description |
|---|---|
| org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
| org.forgerock.opendj.ldap.spi |
Interfaces and classes for service providers.
|
| Modifier and Type | Method and Description |
|---|---|
LDAPOptions |
LDAPOptions.addEnabledCipherSuite(String... suites)
Adds the cipher suites enabled for secure connections with the Directory
Server.
|
LDAPOptions |
LDAPOptions.addEnabledProtocol(String... protocols)
Adds the protocol versions enabled for secure connections with the
Directory Server.
|
LDAPOptions |
LDAPOptions.setConnectTimeout(long timeout,
TimeUnit unit)
Sets the connect timeout.
|
LDAPOptions |
LDAPOptions.setSSLContext(SSLContext sslContext)
Sets the SSL context which will be used when initiating connections with
the Directory Server.
|
LDAPOptions |
LDAPOptions.setTimeout(long timeout,
TimeUnit unit)
Sets the operation timeout.
|
LDAPOptions |
LDAPOptions.setUseStartTLS(boolean useStartTLS)
Specifies whether or not SSL or StartTLS should be used for securing
connections when an SSL context is specified.
|
| Constructor and Description |
|---|
LDAPConnectionFactory(String host,
int port,
LDAPOptions options)
Creates a new LDAP connection factory which can be used to create LDAP
connections to the Directory Server at the provided host and port
number.
|
LDAPOptions(LDAPOptions options)
Creates a new set of connection options having the same initial set of
options as the provided set of connection options.
|
| Modifier and Type | Method and Description |
|---|---|
LDAPConnectionFactoryImpl |
TransportProvider.getLDAPConnectionFactory(String host,
int port,
LDAPOptions options)
Returns an implementation of
LDAPConnectionFactory. |
Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.