public class JLdapProvider extends Object implements Provider<JLdapProviderConfig>
| Modifier and Type | Field and Description |
|---|---|
private JLdapProviderConfig |
config
Provider configuration.
|
| Constructor and Description |
|---|
JLdapProvider() |
| Modifier and Type | Method and Description |
|---|---|
ProviderConnectionFactory<JLdapProviderConfig> |
getConnectionFactory(ConnectionConfig cc)
Returns the connection factory for this provider.
|
protected com.novell.ldap.LDAPConstraints |
getDefaultLDAPConstraints(ConnectionConfig cc)
Returns the default connection constraints for this provider.
|
protected SSLSocketFactory |
getHostnameVerifierSocketFactory(ConnectionConfig cc)
Returns an SSL socket factory configured with a default hostname verifier.
|
protected JLdapConnectionFactory |
getJLdapConnectionFactory(ConnectionConfig cc,
com.novell.ldap.LDAPConstraints constraints)
Returns a jldap connection factory using the properties found in the supplied connection config.
|
protected JLdapSSLConnectionFactory |
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 |
getJLdapStartTLSConnectionFactory(ConnectionConfig cc,
com.novell.ldap.LDAPConstraints constraints)
Returns a jldap startTLS connection factory using the properties found in the supplied connection config.
|
JLdapProviderConfig |
getProviderConfig()
Returns the provider configuration.
|
JLdapProvider |
newInstance()
Creates a new instance of this provider.
|
void |
setProviderConfig(JLdapProviderConfig pc)
Sets the provider configuration.
|
private JLdapProviderConfig config
public ProviderConnectionFactory<JLdapProviderConfig> getConnectionFactory(ConnectionConfig cc)
ProvidergetConnectionFactory in interface Provider<JLdapProviderConfig>cc - connection configurationprotected JLdapStartTLSConnectionFactory getJLdapStartTLSConnectionFactory(ConnectionConfig cc, com.novell.ldap.LDAPConstraints constraints)
getDefaultLDAPConstraints(ConnectionConfig).cc - connection configconstraints - connection constraints or null to use the defaultprotected JLdapSSLConnectionFactory getJLdapSSLConnectionFactory(ConnectionConfig cc, com.novell.ldap.LDAPConstraints constraints)
getDefaultLDAPConstraints(ConnectionConfig).cc - connection configconstraints - connection constraints or null to use the defaultprotected JLdapConnectionFactory getJLdapConnectionFactory(ConnectionConfig cc, com.novell.ldap.LDAPConstraints constraints)
getDefaultLDAPConstraints(ConnectionConfig).cc - connection configconstraints - connection constraints or null to use the defaultprotected SSLSocketFactory getHostnameVerifierSocketFactory(ConnectionConfig cc)
cc - connection configurationprotected com.novell.ldap.LDAPConstraints getDefaultLDAPConstraints(ConnectionConfig cc)
cc - to configure options withpublic JLdapProviderConfig getProviderConfig()
ProvidergetProviderConfig in interface Provider<JLdapProviderConfig>public void setProviderConfig(JLdapProviderConfig pc)
ProvidersetProviderConfig in interface Provider<JLdapProviderConfig>pc - provider configurationpublic JLdapProvider newInstance()
ProvidernewInstance in interface Provider<JLdapProviderConfig>Copyright © 2003-2019 Virginia Tech. All Rights Reserved.