public final class MonitoringLdapConnection extends LdapConnectionWrapper
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. |
BindResponse |
bind(BindRequest bindRequest)
Bind to the server using a bind request object.
|
void |
bind(Dn name)
Unauthenticated authentication bind on a server.
|
void |
bind(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() |
ExtendedResponse |
extended(ExtendedRequest extendedRequest)
Performs an extended operation based on the extended request object.
|
ExtendedResponse |
extended(Oid oid)
Sends a extended operation request to the server with the given OID and no value.
|
ExtendedResponse |
extended(Oid oid,
byte[] value)
Sends a extended operation request to the server with the given OID and value.
|
ExtendedResponse |
extended(String oid)
Sends a extended operation request to the server with the given OID and no value.
|
ExtendedResponse |
extended(String oid,
byte[] value)
Sends a extended operation request to the server with the given OID and value.
|
void |
resetMonitors() |
boolean |
startTlsCalled() |
abandon, abandon, add, add, close, compare, compare, compare, compare, compare, compare, compare, connect, delete, delete, delete, doesFutureExistFor, exists, exists, getBinaryAttributeDetector, getCodecService, getRootDse, getRootDse, getSchemaManager, getSupportedControls, isAuthenticated, isConnected, isControlSupported, 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, wrappedpublic boolean bindCalled()
public void resetMonitors()
public boolean startTlsCalled()
public void bind()
throws LdapException
LdapConnectionLdapConnectionConfig information of this connection.bind in interface LdapConnectionbind in class LdapConnectionWrapperLdapException - if some error occurredpublic void anonymousBind()
throws LdapException
LdapConnectionanonymousBind in interface LdapConnectionanonymousBind in class LdapConnectionWrapperLdapException - if some error occurredpublic void bind(String name) throws LdapException
LdapConnectionbind in interface LdapConnectionbind in class LdapConnectionWrappername - The name we use to authenticate the user. It must be a
valid DnLdapException - if some error occurredpublic void bind(String name, String credentials) throws LdapException
LdapConnectionbind in interface LdapConnectionbind in class LdapConnectionWrappername - The name we use to authenticate the user. It must be a
valid Dncredentials - The password, it can't be nullLdapException - if some error occurredpublic void bind(Dn name) throws LdapException
LdapConnectionbind in interface LdapConnectionbind in class LdapConnectionWrappername - The name we use to authenticate the user.LdapException - if some error occurredpublic void bind(Dn name, String credentials) throws LdapException
LdapConnectionbind in interface LdapConnectionbind in class LdapConnectionWrappername - The name we use to authenticate the user.credentials - The password, it can't be nullLdapException - if some error occurredpublic BindResponse bind(BindRequest bindRequest) throws LdapException
LdapConnectionbind in interface LdapConnectionbind in class LdapConnectionWrapperbindRequest - The bind request object containing all the needed parametersBindResponse containing the resultLdapException - if some error occurredpublic ExtendedResponse extended(String oid) throws LdapException
LdapConnectionextended in interface LdapConnectionextended in class LdapConnectionWrapperoid - the object identifier of the extended operationLdapException - if some error occurredLdapConnection.extended(org.apache.directory.api.asn1.util.Oid, byte[])public ExtendedResponse extended(String oid, byte[] value) throws LdapException
LdapConnectionextended 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 valueLdapException - if some error occurredLdapConnection.extended(org.apache.directory.api.asn1.util.Oid, byte[])public ExtendedResponse extended(Oid oid) throws LdapException
LdapConnectionextended in interface LdapConnectionextended in class LdapConnectionWrapperoid - the object identifier of the extended operationLdapException - if some error occurredLdapConnection.extended(org.apache.directory.api.asn1.util.Oid, byte[])public ExtendedResponse extended(Oid oid, byte[] value) throws LdapException
LdapConnectionextended 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 valueLdapException - if some error occurredpublic ExtendedResponse extended(ExtendedRequest extendedRequest) throws LdapException
LdapConnectionextended in interface LdapConnectionextended in class LdapConnectionWrapperextendedRequest - the extended operation's requestLdapException - if the extended operation failedCopyright © 2021. All rights reserved.