public class JLdapConnectionFactory extends AbstractJLdapConnectionFactory<JLdapConnection>
logger| Constructor and Description |
|---|
JLdapConnectionFactory(String url,
ConnectionStrategy strategy,
JLdapProviderConfig config,
com.novell.ldap.LDAPConstraints constraints,
Duration timeOut)
Creates a new jldap connection factory.
|
| Modifier and Type | Method and Description |
|---|---|
protected JLdapConnection |
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, initializeConnectioncreate, getMetadata, getProviderConfig, toStringpublic JLdapConnectionFactory(String url, ConnectionStrategy strategy, JLdapProviderConfig config, com.novell.ldap.LDAPConstraints constraints, Duration timeOut)
url - of the ldap to connect tostrategy - connection strategyconfig - provider configurationconstraints - connection constraintstimeOut - time in milliseconds that operations will waitprotected com.novell.ldap.LDAPConnection createLDAPConnection()
throws com.novell.ldap.LDAPException
AbstractJLdapConnectionFactorycreateLDAPConnection in class AbstractJLdapConnectionFactory<JLdapConnection>com.novell.ldap.LDAPException - if an error occurs creating the connectionprotected JLdapConnection createJLdapConnection(com.novell.ldap.LDAPConnection conn, JLdapProviderConfig config)
AbstractJLdapConnectionFactorycreateJLdapConnection in class AbstractJLdapConnectionFactory<JLdapConnection>conn - to create jldap connection withconfig - provider configurationCopyright © 2003-2019 Virginia Tech. All Rights Reserved.