public class OpenDJProvider extends Object implements Provider<OpenDJProviderConfig>
Modifier and Type | Field and Description |
---|---|
private OpenDJProviderConfig |
config
Provider configuration.
|
Constructor and Description |
---|
OpenDJProvider() |
Modifier and Type | Method and Description |
---|---|
ProviderConnectionFactory<OpenDJProviderConfig> |
getConnectionFactory(ConnectionConfig cc)
Returns the connection factory for this provider.
|
protected org.forgerock.opendj.ldap.LDAPOptions |
getDefaultLDAPOptions(ConnectionConfig cc)
Returns the default connection options for this provider.
|
protected SSLContext |
getHostnameVerifierSSLContext(ConnectionConfig cc)
Returns an SSLContext configured with a default hostname verifier.
|
OpenDJProviderConfig |
getProviderConfig()
Returns the provider configuration.
|
OpenDJProvider |
newInstance()
Creates a new instance of this provider.
|
void |
setProviderConfig(OpenDJProviderConfig pc)
Sets the provider configuration.
|
private OpenDJProviderConfig config
public ProviderConnectionFactory<OpenDJProviderConfig> getConnectionFactory(ConnectionConfig cc)
Provider
getConnectionFactory
in interface Provider<OpenDJProviderConfig>
cc
- connection configurationprotected SSLContext getHostnameVerifierSSLContext(ConnectionConfig cc)
DefaultHostnameVerifier
if no
trust managers have been configured.cc
- connection configurationprotected org.forgerock.opendj.ldap.LDAPOptions getDefaultLDAPOptions(ConnectionConfig cc)
cc
- to configure options withpublic OpenDJProviderConfig getProviderConfig()
Provider
getProviderConfig
in interface Provider<OpenDJProviderConfig>
public void setProviderConfig(OpenDJProviderConfig pc)
Provider
setProviderConfig
in interface Provider<OpenDJProviderConfig>
pc
- provider configurationpublic OpenDJProvider newInstance()
Provider
newInstance
in interface Provider<OpenDJProviderConfig>
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.