public class JLdapSSLConnectionFactory extends AbstractJLdapConnectionFactory<JLdapSSLConnection>
Modifier and Type | Field and Description |
---|---|
private SSLSocketFactory |
sslSocketFactory
SSL socket factory to use for SSL.
|
logger
Constructor and Description |
---|
JLdapSSLConnectionFactory(String url,
ConnectionStrategy strategy,
JLdapProviderConfig config,
com.novell.ldap.LDAPConstraints constraints,
Duration timeOut,
SSLSocketFactory factory)
Creates a new jldap ssl connection factory.
|
Modifier and Type | Method and Description |
---|---|
protected JLdapSSLConnection |
createJLdapConnection(com.novell.ldap.LDAPConnection conn,
JLdapProviderConfig config)
Creates a jldap connection of the appropriate type for this connection factory.
|
protected com.novell.ldap.LDAPConnection |
createLDAPConnection()
Creates an ldap connection for use with this connection factory.
|
createInternal, initializeConnection
create, getMetadata, getProviderConfig, toString
private final SSLSocketFactory sslSocketFactory
public JLdapSSLConnectionFactory(String url, ConnectionStrategy strategy, JLdapProviderConfig config, com.novell.ldap.LDAPConstraints constraints, Duration timeOut, SSLSocketFactory factory)
url
- of the ldap to connect tostrategy
- connection strategyconfig
- provider configurationconstraints
- connection constraintstimeOut
- time in milliseconds that operations will waitfactory
- SSL socket factoryprotected com.novell.ldap.LDAPConnection createLDAPConnection() throws com.novell.ldap.LDAPException
AbstractJLdapConnectionFactory
createLDAPConnection
in class AbstractJLdapConnectionFactory<JLdapSSLConnection>
com.novell.ldap.LDAPException
- if an error occurs creating the connectionprotected JLdapSSLConnection createJLdapConnection(com.novell.ldap.LDAPConnection conn, JLdapProviderConfig config)
AbstractJLdapConnectionFactory
createJLdapConnection
in class AbstractJLdapConnectionFactory<JLdapSSLConnection>
conn
- to create jldap connection withconfig
- provider configurationCopyright © 2003-2019 Virginia Tech. All Rights Reserved.