public final class MonitoringLdapConnection extends LdapConnectionWrapper
| Modifier and Type | Field and Description |
|---|---|
private boolean |
bindCalled |
private static org.apache.directory.api.asn1.util.Oid |
START_TLS_OID |
private boolean |
startTlsCalled |
connection| Constructor and Description |
|---|
MonitoringLdapConnection(LdapConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
anonymousBind()
Anonymous bind on a server.
|
void |
bind()
Bind on a server, using the
LdapConnectionConfig information of this connection. |
org.apache.directory.api.ldap.model.message.BindResponse |
bind(org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Bind to the server using a bind request object.
|
void |
bind(org.apache.directory.api.ldap.model.name.Dn name)
Unauthenticated authentication bind on a server.
|
void |
bind(org.apache.directory.api.ldap.model.name.Dn name,
String credentials)
Simple bind on a server.
|
void |
bind(String name)
Unauthenticated authentication bind on a server.
|
void |
bind(String name,
String credentials)
Simple bind on a server.
|
boolean |
bindCalled() |
org.apache.directory.api.ldap.model.message.ExtendedResponse |
extended(org.apache.directory.api.ldap.model.message.ExtendedRequest extendedRequest)
Performs an extended operation based on the extended request object.
|
org.apache.directory.api.ldap.model.message.ExtendedResponse |
extended(org.apache.directory.api.asn1.util.Oid oid)
Sends a extended operation request to the server with the given OID and no value.
|
org.apache.directory.api.ldap.model.message.ExtendedResponse |
extended(org.apache.directory.api.asn1.util.Oid oid,
byte[] value)
Sends a extended operation request to the server with the given OID and value.
|
org.apache.directory.api.ldap.model.message.ExtendedResponse |
extended(String oid)
Sends a extended operation request to the server with the given OID and no value.
|
org.apache.directory.api.ldap.model.message.ExtendedResponse |
extended(String oid,
byte[] value)
Sends a extended operation request to the server with the given OID and value.
|
void |
resetMonitors()
Reset the Bind and StartTLS flags
|
boolean |
startTlsCalled() |
abandon, abandon, add, add, bind, close, compare, compare, compare, compare, compare, compare, compare, connect, delete, delete, delete, doesFutureExistFor, exists, exists, getBinaryAttributeDetector, getCodecService, getRootDse, getRootDse, getSchemaManager, getSupportedControls, isAuthenticated, isConnected, isControlSupported, isRequestCompleted, loadSchema, loadSchemaRelaxed, lookup, lookup, lookup, lookup, lookup, lookup, modify, modify, modify, modify, modifyDn, move, move, moveAndRename, moveAndRename, moveAndRename, moveAndRename, rename, rename, rename, rename, search, search, search, setBinaryAttributeDetector, setSchemaManager, setTimeOut, unBind, wrappedprivate static final org.apache.directory.api.asn1.util.Oid START_TLS_OID
private boolean bindCalled
private boolean startTlsCalled
MonitoringLdapConnection(LdapConnection connection)
public boolean bindCalled()
public void resetMonitors()
public boolean startTlsCalled()
public void bind()
throws org.apache.directory.api.ldap.model.exception.LdapException
LdapConnectionConfig information of this connection.bind in interface LdapConnectionbind in class LdapConnectionWrapperorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurredpublic void anonymousBind()
throws org.apache.directory.api.ldap.model.exception.LdapException
anonymousBind in interface LdapConnectionanonymousBind in class LdapConnectionWrapperorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurredpublic void bind(String name) throws org.apache.directory.api.ldap.model.exception.LdapException
bind in interface LdapConnectionbind in class LdapConnectionWrappername - The name used to authenticate the user. It must be a
valid distinguished name.org.apache.directory.api.ldap.model.exception.LdapException - if some error occurredpublic void bind(String name, String credentials) throws org.apache.directory.api.ldap.model.exception.LdapException
bind in interface LdapConnectionbind in class LdapConnectionWrappername - The name used to authenticate the user. It must be a
valid distinguished name.credentials - The password, it can't be nullorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurredpublic void bind(org.apache.directory.api.ldap.model.name.Dn name)
throws org.apache.directory.api.ldap.model.exception.LdapException
bind in interface LdapConnectionbind in class LdapConnectionWrappername - The name used to authenticate the user.org.apache.directory.api.ldap.model.exception.LdapException - if some error occurredpublic void bind(org.apache.directory.api.ldap.model.name.Dn name,
String credentials)
throws org.apache.directory.api.ldap.model.exception.LdapException
bind in interface LdapConnectionbind in class LdapConnectionWrappername - The name used to authenticate the user.credentials - The password, it can't be nullorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurredpublic org.apache.directory.api.ldap.model.message.BindResponse bind(org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
bind in interface LdapConnectionbind in class LdapConnectionWrapperbindRequest - The bind request object containing all the needed parametersBindResponse containing the resultorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurredpublic org.apache.directory.api.ldap.model.message.ExtendedResponse extended(String oid) throws org.apache.directory.api.ldap.model.exception.LdapException
extended in interface LdapConnectionextended in class LdapConnectionWrapperoid - the object identifier of the extended operationorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurredLdapConnection.extended(org.apache.directory.api.asn1.util.Oid, byte[])public org.apache.directory.api.ldap.model.message.ExtendedResponse extended(String oid, byte[] value) throws org.apache.directory.api.ldap.model.exception.LdapException
extended in interface LdapConnectionextended in class LdapConnectionWrapperoid - the object identifier of the extended operationvalue - value to be used by the extended operation, can be a null valueorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurredLdapConnection.extended(org.apache.directory.api.asn1.util.Oid, byte[])public org.apache.directory.api.ldap.model.message.ExtendedResponse extended(org.apache.directory.api.asn1.util.Oid oid)
throws org.apache.directory.api.ldap.model.exception.LdapException
extended in interface LdapConnectionextended in class LdapConnectionWrapperoid - the object identifier of the extended operationorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurredLdapConnection.extended(org.apache.directory.api.asn1.util.Oid, byte[])public org.apache.directory.api.ldap.model.message.ExtendedResponse extended(org.apache.directory.api.asn1.util.Oid oid,
byte[] value)
throws org.apache.directory.api.ldap.model.exception.LdapException
extended in interface LdapConnectionextended in class LdapConnectionWrapperoid - the object identifier of the extended operationvalue - value to be used by the extended operation, can be a null valueorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurredpublic org.apache.directory.api.ldap.model.message.ExtendedResponse extended(org.apache.directory.api.ldap.model.message.ExtendedRequest extendedRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
extended in interface LdapConnectionextended in class LdapConnectionWrapperextendedRequest - the extended operation's requestorg.apache.directory.api.ldap.model.exception.LdapException - if the extended operation failedCopyright © 2009–2019 The Apache Software Foundation. All rights reserved.