|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.provider.jndi.JndiConnection
org.ldaptive.provider.jndi.JndiStartTLSConnection
public class JndiStartTLSConnection
JNDI provider implementation of ldap operations using startTLS.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.ldaptive.provider.jndi.JndiConnection |
|---|
JndiConnection.JndiExtendedRequest, JndiConnection.JndiExtendedResponse, JndiConnection.JndiSearchIterator |
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.provider.jndi.JndiConnection |
|---|
AUTHENTICATION, BINARY_ATTRIBUTES, CREDENTIALS, DELETE_RDN, DEREF_ALIASES, logger, PRINCIPAL, REFERRAL, SASL_AUTHZ_ID, SASL_MUTUAL_AUTH, SASL_QOP, SASL_REALM, SASL_STRENGTH, TYPES_ONLY |
| Constructor Summary | |
|---|---|
JndiStartTLSConnection(LdapContext lc,
JndiProviderConfig pc)
Creates a new jndi startTLS connection. |
|
JndiStartTLSConnection(LdapContext lc,
JndiProviderConfig pc,
StartTlsResponse tlsResponse)
Creates a new jndi startTLS connection. |
|
| Method Summary | |
|---|---|
void |
close(RequestControl[] controls)
Tear down this connection to an LDAP. |
StartTlsResponse |
getStartTlsResponse()
Returns the start tls response used by this connection. |
boolean |
getStopTLSOnClose()
Returns whether to call StartTlsResponse.close() when close(RequestControl[]) is called. |
void |
setStartTlsResponse(StartTlsResponse str)
Sets the start tls response. |
void |
setStopTLSOnClose(boolean b)
Sets whether to call StartTlsResponse.close() when close(RequestControl[]) is called. |
| Methods inherited from class org.ldaptive.provider.jndi.JndiConnection |
|---|
abandon, add, addUnsolicitedNotificationListener, anonymousBind, bind, compare, createResponse, createResponse, delete, extendedOperation, getCompareSearchControls, getLdapContext, getSaslProperties, initializeContext, modify, modifyDn, processNamingException, processResponseControls, removeUnsolicitedNotificationListener, saslBind, search, searchAsync, simpleBind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JndiStartTLSConnection(LdapContext lc,
JndiProviderConfig pc)
lc - ldap contextpc - provider configuration
public JndiStartTLSConnection(LdapContext lc,
JndiProviderConfig pc,
StartTlsResponse tlsResponse)
lc - ldap contextpc - provider configurationtlsResponse - of successful TLS handshake| Method Detail |
|---|
public boolean getStopTLSOnClose()
StartTlsResponse.close() when close(RequestControl[]) is called.
public void setStopTLSOnClose(boolean b)
StartTlsResponse.close() when close(RequestControl[]) is called.
b - stop TLS on closepublic StartTlsResponse getStartTlsResponse()
public void setStartTlsResponse(StartTlsResponse str)
str - start tls response
public void close(RequestControl[] controls)
throws LdapException
close in interface ProviderConnectionclose in class JndiConnectioncontrols - request controls
LdapException - if an LDAP error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||