public class UnboundIDConnectionFactory extends AbstractProviderConnectionFactory<UnboundIDProviderConfig>
Modifier and Type | Field and Description |
---|---|
private com.unboundid.ldap.sdk.LDAPConnectionOptions |
ldapOptions
UnboundID connection options.
|
private SSLSocketFactory |
socketFactory
Socket factory to use for LDAPS connections.
|
logger
Constructor and Description |
---|
UnboundIDConnectionFactory(String url,
ConnectionStrategy strategy,
UnboundIDProviderConfig config,
SSLSocketFactory factory,
com.unboundid.ldap.sdk.LDAPConnectionOptions options)
Creates a new Unbound ID connection factory.
|
Modifier and Type | Method and Description |
---|---|
protected UnboundIDConnection |
createInternal(String url)
Create the provider connection and prepare the connection for use.
|
create, getMetadata, getProviderConfig, toString
private final SSLSocketFactory socketFactory
private final com.unboundid.ldap.sdk.LDAPConnectionOptions ldapOptions
public UnboundIDConnectionFactory(String url, ConnectionStrategy strategy, UnboundIDProviderConfig config, SSLSocketFactory factory, com.unboundid.ldap.sdk.LDAPConnectionOptions options)
url
- of the ldap to connect tostrategy
- connection strategyconfig
- provider configurationfactory
- SSL socket factory to use for LDAP and LDAPSoptions
- connection optionsprotected UnboundIDConnection createInternal(String url) throws LdapException
AbstractProviderConnectionFactory
createInternal
in class AbstractProviderConnectionFactory<UnboundIDProviderConfig>
url
- to connect toLdapException
- if a connection cannot be establishedCopyright © 2003-2019 Virginia Tech. All Rights Reserved.