public class JLdapStartTLSConnection extends JLdapConnection
JLdapConnection.AbstractJLdapSearch, JLdapConnection.AggregateUnsolicitedNotificationListener, JLdapConnection.JLdapAsyncRequest, JLdapConnection.JLdapAsyncSearchListener, JLdapConnection.JLdapSearchIterator, JLdapConnection.SearchResultIterator| Modifier and Type | Field and Description |
|---|---|
private boolean |
stopTlsOnClose
Whether to call
LDAPConnection.stopTLS() when close(RequestControl[]) is called. |
logger| Constructor and Description |
|---|
JLdapStartTLSConnection(com.novell.ldap.LDAPConnection conn,
JLdapProviderConfig pc)
Creates a new jldap tls connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(RequestControl[] controls)
Tear down this connection to an LDAP.
|
boolean |
getStopTlsOnClose()
Returns whether to call
LDAPConnection.stopTLS() when close(RequestControl[]) is called. |
void |
setStopTlsOnClose(boolean b)
Sets whether to call
LDAPConnection.stopTLS() when close(RequestControl[]) is called. |
abandon, add, addUnsolicitedNotificationListener, anonymousBind, bind, compare, createResponse, delete, extendedOperation, getLDAPConnection, getLDAPConstraints, getLDAPConstraints, modify, modifyDn, processLDAPException, removeUnsolicitedNotificationListener, saslBind, search, searchAsync, simpleBind, throwOperationExceptionprivate boolean stopTlsOnClose
LDAPConnection.stopTLS() when close(RequestControl[]) is called.public JLdapStartTLSConnection(com.novell.ldap.LDAPConnection conn,
JLdapProviderConfig pc)
conn - ldap connectionpc - provider configurationpublic boolean getStopTlsOnClose()
LDAPConnection.stopTLS() when close(RequestControl[]) is called.public void setStopTlsOnClose(boolean b)
LDAPConnection.stopTLS() when close(RequestControl[]) is called.b - stop TLS on closepublic void close(RequestControl[] controls) throws LdapException
ProviderConnectionclose in interface ProviderConnectionclose in class JLdapConnectioncontrols - request controlsLdapException - if an LDAP error occursCopyright © 2003-2019 Virginia Tech. All Rights Reserved.