Modifier and Type | Field and Description |
---|---|
private ConnectionConfig |
DefaultConnectionFactory.config
Connection configuration used by this factory.
|
private ConnectionConfig |
DefaultConnectionFactory.DefaultConnection.config
Connection configuration.
|
Modifier and Type | Method and Description |
---|---|
ConnectionConfig |
DefaultConnectionFactory.getConnectionConfig()
Returns the connection config.
|
ConnectionConfig |
DefaultConnectionFactory.DefaultConnection.getConnectionConfig() |
ConnectionConfig |
Connection.getConnectionConfig()
Returns the connection config for this connection.
|
static ConnectionConfig |
ConnectionConfig.newConnectionConfig(ConnectionConfig config)
Returns a connection config initialized with the supplied config.
|
Modifier and Type | Method and Description |
---|---|
static Connection |
DefaultConnectionFactory.getConnection(ConnectionConfig cc)
Creates a new connection.
|
static ConnectionConfig |
ConnectionConfig.newConnectionConfig(ConnectionConfig config)
Returns a connection config initialized with the supplied config.
|
void |
DefaultConnectionFactory.setConnectionConfig(ConnectionConfig cc)
Sets the connection config.
|
Constructor and Description |
---|
DefaultConnection(ConnectionConfig cc,
ProviderConnectionFactory<?> cf)
Creates a new default connection.
|
DefaultConnectionFactory(ConnectionConfig cc)
Creates a new default connection factory.
|
DefaultConnectionFactory(ConnectionConfig cc,
Provider<?> p)
Creates a new default connection factory.
|
Constructor and Description |
---|
ConnectionConfigPropertySource(ConnectionConfig cc)
Creates a new connection config property source using the default properties file.
|
ConnectionConfigPropertySource(ConnectionConfig cc,
Properties props)
Creates a new connection config property source.
|
ConnectionConfigPropertySource(ConnectionConfig cc,
PropertySource.PropertyDomain domain,
Properties props)
Creates a new connection config property source.
|
ConnectionConfigPropertySource(ConnectionConfig cc,
Reader... readers)
Creates a new connection config property source.
|
ConnectionConfigPropertySource(ConnectionConfig cc,
String... paths)
Creates a new connection config property source.
|
Modifier and Type | Method and Description |
---|---|
ProviderConnectionFactory<T> |
Provider.getConnectionFactory(ConnectionConfig cc)
Returns the connection factory for this provider.
|
Modifier and Type | Method and Description |
---|---|
ProviderConnectionFactory<ApacheLdapProviderConfig> |
ApacheLdapProvider.getConnectionFactory(ConnectionConfig cc) |
protected org.apache.directory.ldap.client.api.LdapConnectionConfig |
ApacheLdapProvider.getDefaultLdapConnectionConfig(ConnectionConfig cc)
Returns the default connection configuration for this provider.
|
protected SSLContextInitializer |
ApacheLdapProvider.getHostnameVerifierSSLContextInitializer(ConnectionConfig cc)
Returns an SSLContextInitializer configured with a hostname verifier.
|
Modifier and Type | Method and Description |
---|---|
ProviderConnectionFactory<JLdapProviderConfig> |
JLdapProvider.getConnectionFactory(ConnectionConfig cc) |
protected com.novell.ldap.LDAPConstraints |
JLdapProvider.getDefaultLDAPConstraints(ConnectionConfig cc)
Returns the default connection constraints for this provider.
|
protected SSLSocketFactory |
JLdapProvider.getHostnameVerifierSocketFactory(ConnectionConfig cc)
Returns an SSL socket factory configured with a default hostname verifier.
|
protected JLdapConnectionFactory |
JLdapProvider.getJLdapConnectionFactory(ConnectionConfig cc,
com.novell.ldap.LDAPConstraints constraints)
Returns a jldap connection factory using the properties found in the supplied connection config.
|
protected JLdapSSLConnectionFactory |
JLdapProvider.getJLdapSSLConnectionFactory(ConnectionConfig cc,
com.novell.ldap.LDAPConstraints constraints)
Returns a jldap SSL connection factory using the properties found in the supplied connection config.
|
protected JLdapStartTLSConnectionFactory |
JLdapProvider.getJLdapStartTLSConnectionFactory(ConnectionConfig cc,
com.novell.ldap.LDAPConstraints constraints)
Returns a jldap startTLS connection factory using the properties found in the supplied connection config.
|
Modifier and Type | Method and Description |
---|---|
ProviderConnectionFactory<JndiProviderConfig> |
JndiProvider.getConnectionFactory(ConnectionConfig cc) |
protected Map<String,Object> |
JndiProvider.getDefaultEnvironment(ConnectionConfig cc,
String factory)
Returns the configuration environment for a JNDI ldap context using the properties found in the supplied connection
config.
|
protected JndiConnectionFactory |
JndiProvider.getJndiConnectionFactory(ConnectionConfig cc,
Map<String,Object> env)
Returns a jndi connection factory using the properties found in the supplied connection config.
|
protected JndiStartTLSConnectionFactory |
JndiProvider.getJndiStartTLSConnectionFactory(ConnectionConfig cc,
Map<String,Object> env)
Returns a jndi startTLS connection factory using the properties found in the supplied connection config.
|
Modifier and Type | Method and Description |
---|---|
ProviderConnectionFactory<OpenDJProviderConfig> |
OpenDJProvider.getConnectionFactory(ConnectionConfig cc) |
protected org.forgerock.opendj.ldap.LDAPOptions |
OpenDJProvider.getDefaultLDAPOptions(ConnectionConfig cc)
Returns the default connection options for this provider.
|
protected SSLContext |
OpenDJProvider.getHostnameVerifierSSLContext(ConnectionConfig cc)
Returns an SSLContext configured with a default hostname verifier.
|
Modifier and Type | Method and Description |
---|---|
ProviderConnectionFactory<UnboundIDProviderConfig> |
UnboundIDProvider.getConnectionFactory(ConnectionConfig cc) |
protected com.unboundid.ldap.sdk.LDAPConnectionOptions |
UnboundIDProvider.getDefaultLDAPConnectionOptions(ConnectionConfig cc)
Returns the default connection options for this provider.
|
protected com.unboundid.ldap.sdk.LDAPConnectionOptions |
UnboundIDSyncProvider.getDefaultLDAPConnectionOptions(ConnectionConfig cc) |
protected SSLSocketFactory |
UnboundIDProvider.getHostnameVerifierSocketFactory(ConnectionConfig cc)
Returns an SSL socket factory configured with a default hostname verifier.
|
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
ReferralConnectionFactory.getConnectionFactory(ConnectionConfig config,
String ldapUrl)
Returns a connection factory for use with a referral.
|
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.