public class OpenDJConnectionFactory extends AbstractProviderConnectionFactory<OpenDJProviderConfig>
Modifier and Type | Field and Description |
---|---|
private org.forgerock.opendj.ldap.LDAPOptions |
ldapOptions
Ldap connection options.
|
logger
Constructor and Description |
---|
OpenDJConnectionFactory(String url,
ConnectionStrategy strategy,
OpenDJProviderConfig config,
org.forgerock.opendj.ldap.LDAPOptions options)
Creates a new OpenDJ connection factory.
|
Modifier and Type | Method and Description |
---|---|
protected OpenDJConnection |
createInternal(String url)
Create the provider connection and prepare the connection for use.
|
create, getMetadata, getProviderConfig, toString
private final org.forgerock.opendj.ldap.LDAPOptions ldapOptions
public OpenDJConnectionFactory(String url, ConnectionStrategy strategy, OpenDJProviderConfig config, org.forgerock.opendj.ldap.LDAPOptions options)
url
- of the ldap to connect tostrategy
- connection strategyconfig
- provider configurationoptions
- connection optionsprotected OpenDJConnection createInternal(String url) throws LdapException
AbstractProviderConnectionFactory
createInternal
in class AbstractProviderConnectionFactory<OpenDJProviderConfig>
url
- to connect toLdapException
- if a connection cannot be establishedCopyright © 2003-2019 Virginia Tech. All Rights Reserved.