|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.core.service.IoHandlerAdapter
org.apache.directory.ldap.client.api.AbstractLdapConnection
org.apache.directory.ldap.client.api.LdapNetworkConnection
public class LdapNetworkConnection
This class is the base for every operations sent or received to and from a LDAP server. A connection instance is necessary to send requests to the server. The connection is valid until either the client closes it, the server closes it or the client does an unbind.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.ldap.client.api.AbstractLdapConnection |
|---|
codec, messageId, schemaManager |
| Constructor Summary | |
|---|---|
LdapNetworkConnection()
Create a new instance of a LdapConnection on localhost, port 389. |
|
LdapNetworkConnection(boolean useSsl)
Create a new instance of a LdapConnection on localhost, port 389 if the SSL flag is off, or 636 otherwise. |
|
LdapNetworkConnection(LdapConnectionConfig config)
Creates a new instance of LdapConnection with the given connection configuration. |
|
LdapNetworkConnection(String server)
Create a new instance of a LdapConnection on a given server, using the default port (389). |
|
LdapNetworkConnection(String server,
boolean useSsl)
Create a new instance of a LdapConnection on a given server, using the default port (389) if the SSL flag is off, or 636 otherwise. |
|
LdapNetworkConnection(String server,
int port)
Create a new instance of a LdapConnection on a given server and a given port. |
|
LdapNetworkConnection(String server,
int port,
boolean useSsl)
Create a new instance of a LdapConnection on a given server, and a give port. |
|
| Method Summary | |
|---|---|
void |
abandon(org.apache.directory.api.ldap.model.message.AbandonRequest abandonRequest)
An abandon request essentially with the request message ID of the operation to be canceled and/or potentially some controls and timeout (the controls and timeout are not mandatory). |
void |
abandon(int messageId)
Abandons a request submitted to the server for performing a particular operation The abandonRequest is always non-blocking, because no response is expected |
org.apache.directory.api.ldap.model.message.AddResponse |
add(org.apache.directory.api.ldap.model.message.AddRequest addRequest)
Add an entry present in the AddRequest to the server. |
void |
add(org.apache.directory.api.ldap.model.entry.Entry entry)
Add an entry to the server. |
AddFuture |
addAsync(org.apache.directory.api.ldap.model.message.AddRequest addRequest)
Add an entry present in the AddRequest to the server. |
AddFuture |
addAsync(org.apache.directory.api.ldap.model.entry.Entry entry)
Add an entry to the server asynchronously. |
void |
addConnectionClosedEventListener(ConnectionClosedEventListener ccListener)
Adds the connection closed event listener. |
void |
addSchema(File schemaFile)
parses the given schema file present in OpenLDAP schema format and adds all the SchemaObjects present in it to the SchemaManager |
void |
addSchema(String schemaFileName)
|
void |
anonymousBind()
Anonymous Bind on a server. |
BindFuture |
anonymousBindAsync()
Anonymous asynchronous Bind on a server. |
void |
bind()
Bind on a server, using the LdapConnectionConfig informations |
org.apache.directory.api.ldap.model.message.BindResponse |
bind(org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Bind to the server using a BindRequest object. |
org.apache.directory.api.ldap.model.message.BindResponse |
bind(CramMd5Request request)
Bind to the server using a CramMd5Request object. |
org.apache.directory.api.ldap.model.message.BindResponse |
bind(DigestMd5Request request)
Bind to the server using a DigestMd5Request object. |
org.apache.directory.api.ldap.model.message.BindResponse |
bind(GssApiRequest request)
Bind to the server using a GssApiRequest object. |
BindFuture |
bindAsync()
Asynchronous Bind on a server, using the LdapConnectionConfig informations. |
BindFuture |
bindAsync(org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Do an asynchronous bind, based on a BindRequest. |
BindFuture |
bindAsync(CramMd5Request request)
Do an asynchronous bind, based on a CramMd5Request. |
BindFuture |
bindAsync(DigestMd5Request request)
Do an asynchronous bind, based on a DigestMd5Request. |
BindFuture |
bindAsync(org.apache.directory.api.ldap.model.name.Dn name)
Asynchronous unauthenticated authentication Bind on a server. |
BindFuture |
bindAsync(org.apache.directory.api.ldap.model.name.Dn name,
String credentials)
Simple asynchronous Bind on a server. |
BindFuture |
bindAsync(GssApiRequest request)
Do an asynchronous bind, based on a GssApiRequest. |
BindFuture |
bindAsync(String name)
Asynchronous unauthenticated authentication bind |
BindFuture |
bindAsync(String name,
String credentials)
Simple asynchronous Bind on a server. |
boolean |
close()
Disconnect from the remote LDAP server |
org.apache.directory.api.ldap.model.message.CompareResponse |
compare(org.apache.directory.api.ldap.model.message.CompareRequest compareRequest)
Compares an entry's attribute's value with that of the given value. |
boolean |
compare(org.apache.directory.api.ldap.model.name.Dn dn,
String attributeName,
byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given Dn. |
boolean |
compare(org.apache.directory.api.ldap.model.name.Dn dn,
String attributeName,
String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given Dn. |
boolean |
compare(org.apache.directory.api.ldap.model.name.Dn dn,
String attributeName,
org.apache.directory.api.ldap.model.entry.Value<?> value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given Dn. |
boolean |
compare(String dn,
String attributeName,
byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given Dn. |
boolean |
compare(String dn,
String attributeName,
String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given Dn. |
boolean |
compare(String dn,
String attributeName,
org.apache.directory.api.ldap.model.entry.Value<?> value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given Dn. |
CompareFuture |
compareAsync(org.apache.directory.api.ldap.model.message.CompareRequest compareRequest)
Asynchronously compares an entry's attribute's value with that of the given value |
boolean |
connect()
Connect to the remote LDAP server. |
org.apache.directory.api.ldap.model.message.DeleteResponse |
delete(org.apache.directory.api.ldap.model.message.DeleteRequest deleteRequest)
Performs a delete operation based on the delete request object. |
void |
delete(org.apache.directory.api.ldap.model.name.Dn dn)
Deletes the entry with the given Dn. |
void |
delete(String dn)
Deletes the entry with the given Dn. |
DeleteFuture |
deleteAsync(org.apache.directory.api.ldap.model.message.DeleteRequest deleteRequest)
Performs an asynchronous delete operation based on the delete request object. |
void |
deleteTree(org.apache.directory.api.ldap.model.name.Dn dn)
deletes the entry with the given Dn, and all its children |
void |
deleteTree(String dn)
deletes the entry with the given Dn, and all its children |
boolean |
doesFutureExistFor(int messageId)
Checks if there is a ResponseFuture associated with the given message ID. |
void |
exceptionCaught(org.apache.mina.core.session.IoSession session,
Throwable cause)
Handle the exception we got. |
boolean |
exists(org.apache.directory.api.ldap.model.name.Dn dn)
Tells if an Entry exists in the server. |
boolean |
exists(String dn)
Tells if an Entry exists in the server. |
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. |
ExtendedFuture |
extendedAsync(org.apache.directory.api.ldap.model.message.ExtendedRequest extendedRequest)
Asynchronously requests the server to perform an extended operation based on the given request. |
org.apache.directory.api.ldap.codec.api.BinaryAttributeDetector |
getBinaryAttributeDetector()
|
org.apache.directory.api.ldap.codec.api.LdapApiService |
getCodecService()
Gets the LDAP CODEC service responsible for encoding and decoding messages. |
LdapConnectionConfig |
getConfig()
gives the configuration information of the connection |
org.apache.directory.api.ldap.model.entry.Entry |
getRootDse()
Get back the RooDSE from the connected server. |
org.apache.directory.api.ldap.model.entry.Entry |
getRootDse(String... attributes)
Get back the RooDSE from the connected server. |
org.apache.directory.api.ldap.model.schema.SchemaManager |
getSchemaManager()
|
List<String> |
getSupportedControls()
Get the Controls supported by server. |
boolean |
isAuthenticated()
Check if we are authenticated |
boolean |
isConnected()
Check if we are connected |
boolean |
isControlSupported(String controlOID)
Checks if a control with the given OID is supported. |
void |
loadSchema()
Loads all the default schemas that are bundled with the API. Note: This method enables all schemas prior to loading |
void |
loadSchema(org.apache.directory.api.ldap.model.schema.registries.SchemaLoader loader)
loads schema using the specified schema loader |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(org.apache.directory.api.ldap.model.name.Dn dn)
Searches for an entry having the given Dn. |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.message.Control[] controls,
String... attributes)
Searches for an entry having the given Dn. |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(org.apache.directory.api.ldap.model.name.Dn dn,
String... attributes)
Searches for an entry having the given Dn. |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(String dn)
Searches for an entry having the given Dn. |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(String dn,
org.apache.directory.api.ldap.model.message.Control[] controls,
String... attributes)
Searches for an entry having the given Dn. |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(String dn,
String... attributes)
Searches for an entry having the given Dn. |
void |
messageReceived(org.apache.mina.core.session.IoSession session,
Object message)
Handle the incoming LDAP messages. |
void |
modify(org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Modification... modifications)
Applies all the modifications to the entry specified by its Dn. |
void |
modify(org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.entry.ModificationOperation modOp)
Modifies all the attributes present in the entry by applying the same operation. |
org.apache.directory.api.ldap.model.message.ModifyResponse |
modify(org.apache.directory.api.ldap.model.message.ModifyRequest modRequest)
Performs an modify operation based on the modifications present in the ModifyRequest. |
void |
modify(String dn,
org.apache.directory.api.ldap.model.entry.Modification... modifications)
Applies all the modifications to the entry specified by its Dn. |
ModifyFuture |
modifyAsync(org.apache.directory.api.ldap.model.message.ModifyRequest modRequest)
Performs an asynchronous modify operation based on the modifications present in the ModifyRequest. |
org.apache.directory.api.ldap.model.message.ModifyDnResponse |
modifyDn(org.apache.directory.api.ldap.model.message.ModifyDnRequest modDnRequest)
Performs the modifyDn operation based on the given ModifyDnRequest. |
ModifyDnFuture |
modifyDnAsync(org.apache.directory.api.ldap.model.message.ModifyDnRequest modDnRequest)
Performs the modifyDn operation based on the given ModifyDnRequest. |
void |
move(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Dn newSuperiorDn)
Moves the given entry Dn under the new superior Dn. |
void |
move(String entryDn,
String newSuperiorDn)
Moves the given entry Dn under the new superior Dn. |
void |
moveAndRename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Dn newDn)
Moves and renames the given entryDn. |
void |
moveAndRename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Dn newDn,
boolean deleteOldRdn)
Moves and renames the given entryDn. |
void |
moveAndRename(String entryDn,
String newDn)
Moves and renames the given entryDn.The old Rdn will be deleted |
void |
moveAndRename(String entryDn,
String newDn,
boolean deleteOldRdn)
Moves and renames the given entryDn. |
void |
rename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Rdn newRdn)
Renames the given entryDn with new Rdn and deletes the old Rdn. |
void |
rename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Rdn newRdn,
boolean deleteOldRdn)
Renames the given entryDn with new Rdn and deletes the old Rdn if deleteOldRdn is set to true. |
void |
rename(String entryDn,
String newRdn)
Renames the given entryDn with new Rdn and deletes the old Rdn. |
void |
rename(String entryDn,
String newRdn,
boolean deleteOldRdn)
Renames the given entryDn with new Rdn and deletes the old Rdn if deleteOldRdn is set to true. |
org.apache.directory.api.ldap.model.cursor.EntryCursor |
search(org.apache.directory.api.ldap.model.name.Dn baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
Do a search, on the base object, using the given filter. |
org.apache.directory.api.ldap.model.cursor.SearchCursor |
search(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest)
Performs search in a synchronous mode. |
org.apache.directory.api.ldap.model.cursor.EntryCursor |
search(String baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
Do a search, on the base object, using the given filter. |
SearchFuture |
searchAsync(org.apache.directory.api.ldap.model.name.Dn baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
Do an asynchronous search, on the base object, using the given filter. |
SearchFuture |
searchAsync(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest)
Do a search, on the base object, using the given filter. |
SearchFuture |
searchAsync(String baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
Do an asynchronous search, on the base object, using the given filter. |
void |
sessionClosed(org.apache.mina.core.session.IoSession session)
|
void |
sessionCreated(org.apache.mina.core.session.IoSession session)
This method is called when a new session is created. |
void |
setBinaryAttributeDetector(org.apache.directory.api.ldap.codec.api.BinaryAttributeDetector binaryAttributeDetector)
Sets the object responsible for the detection of binary attributes |
void |
setConnector(org.apache.mina.core.service.IoConnector connector)
Set the connector to use. |
void |
setTimeOut(long timeout)
Set the timeOut for the responses. |
void |
startTls()
Sends the StartTLS extended request to server and adds a security layer upon receiving a response with successful result. |
void |
unBind()
UnBind from a server. |
| Methods inherited from class org.apache.directory.ldap.client.api.AbstractLdapConnection |
|---|
bind, bind, bind, bind, createBindRequest |
| Methods inherited from class org.apache.mina.core.service.IoHandlerAdapter |
|---|
messageSent, sessionIdle, sessionOpened |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.directory.ldap.client.api.LdapConnection |
|---|
bind, bind, bind, bind |
| Constructor Detail |
|---|
public LdapNetworkConnection()
public LdapNetworkConnection(LdapConnectionConfig config)
config - the configuration of the LdapConnectionpublic LdapNetworkConnection(boolean useSsl)
useSsl - A flag to tell if it's a SSL connection or not.public LdapNetworkConnection(String server)
server - The server we want to be connected to. If null or empty,
we will default to LocalHost.
public LdapNetworkConnection(String server,
boolean useSsl)
server - The server we want to be connected to. If null or empty,
we will default to LocalHost.useSsl - A flag to tell if it's a SSL connection or not.
public LdapNetworkConnection(String server,
int port)
server - The server we want to be connected toport - The port the server is listening to
public LdapNetworkConnection(String server,
int port,
boolean useSsl)
server - The server we want to be connected to. If null or empty,
we will default to LocalHost.port - The port the server is listening touseSsl - A flag to tell if it's a SSL connection or not.| Method Detail |
|---|
public boolean isConnected()
isConnected in interface LdapConnectiontrue if we are connected.public boolean isAuthenticated()
isAuthenticated in interface LdapConnectiontrue if we are connected.
public boolean connect()
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
connect in interface LdapConnectiontrue if the connection is established, false otherwise
IOException - if an I/O exception occurred
org.apache.directory.api.ldap.model.exception.LdapException
public boolean close()
throws IOException
close in interface LdapConnectiontrue if the connection is closed, false otherwise
IOException - if some I/O error occurs
public void add(org.apache.directory.api.ldap.model.entry.Entry entry)
throws org.apache.directory.api.ldap.model.exception.LdapException
add in interface LdapConnectionentry - The entry to add
org.apache.directory.api.ldap.model.exception.LdapException
public AddFuture addAsync(org.apache.directory.api.ldap.model.entry.Entry entry)
throws org.apache.directory.api.ldap.model.exception.LdapException
addAsync in interface LdapAsyncConnectionentry - The entry to add
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
public org.apache.directory.api.ldap.model.message.AddResponse add(org.apache.directory.api.ldap.model.message.AddRequest addRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
add in interface LdapConnectionaddRequest - the request object containing an entry and controls(if any)
org.apache.directory.api.ldap.model.exception.LdapException
public AddFuture addAsync(org.apache.directory.api.ldap.model.message.AddRequest addRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
addAsync in interface LdapAsyncConnectionaddRequest - the request object containing an entry and controls(if any)
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurredpublic void abandon(int messageId)
abandon in interface LdapConnectionmessageId - the ID of the request message sent to the serverpublic void abandon(org.apache.directory.api.ldap.model.message.AbandonRequest abandonRequest)
abandon in interface LdapConnectionabandonRequest - the abandon operation's request
public void bind()
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
bind in interface LdapConnectionIOException - if an I/O exception occurred
org.apache.directory.api.ldap.model.exception.LdapException
public void anonymousBind()
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
anonymousBind in interface LdapConnectionIOException - if an I/O exception occurred
org.apache.directory.api.ldap.model.exception.LdapException
public BindFuture bindAsync()
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
bindAsync in interface LdapAsyncConnectionorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if some IO error occurred
public BindFuture anonymousBindAsync()
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
anonymousBindAsync in interface LdapAsyncConnectionorg.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if some IO error occurred
public BindFuture bindAsync(String name)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
name - The name we use to authenticate the user. It must be a
valid Dn
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if an I/O exception occurred
public BindFuture bindAsync(String name,
String credentials)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
bindAsync in interface LdapAsyncConnectionname - The name we use to authenticate the user, it must be a valid Dncredentials - The password, it can't be null
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if some IO error occurred
public BindFuture bindAsync(org.apache.directory.api.ldap.model.name.Dn name)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
name - The name we use to authenticate the user. It must be a
valid Dn
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if an I/O exception occurred
public BindFuture bindAsync(org.apache.directory.api.ldap.model.name.Dn name,
String credentials)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
bindAsync in interface LdapAsyncConnectionname - The name we use to authenticate the user, it must be a valid Dncredentials - The password, it can't be null
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if some IO error occurred
public 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,
IOException
bind in interface LdapConnectionbindRequest - The BindRequest POJO containing all the needed
parameters
IOException - if an I/O exception occurred
org.apache.directory.api.ldap.model.exception.LdapException
public BindFuture bindAsync(org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
bindAsync in interface LdapAsyncConnectionbindRequest - The BindRequest to send
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if some IO error occurred
public org.apache.directory.api.ldap.model.message.BindResponse bind(CramMd5Request request)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
request - The CramMd5Request POJO containing all the needed parameters
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if an I/O exception occurred
public BindFuture bindAsync(CramMd5Request request)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
request - The CramMd5Request POJO containing all the needed parameters
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if an I/O exception occurred
public org.apache.directory.api.ldap.model.message.BindResponse bind(DigestMd5Request request)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
request - The DigestMd5Request POJO containing all the needed parameters
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if an I/O exception occurred
public BindFuture bindAsync(DigestMd5Request request)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
request - The DigestMd5Request POJO containing all the needed parameters
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if an I/O exception occurred
public org.apache.directory.api.ldap.model.message.BindResponse bind(GssApiRequest request)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
request - The GssApiRequest POJO containing all the needed parameters
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if an I/O exception occurred
public BindFuture bindAsync(GssApiRequest request)
throws org.apache.directory.api.ldap.model.exception.LdapException,
IOException
request - The GssApiRequest POJO containing all the needed parameters
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
IOException - if an I/O exception occurred
public org.apache.directory.api.ldap.model.cursor.EntryCursor search(org.apache.directory.api.ldap.model.name.Dn baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
search in interface LdapConnectionbaseDn - The base for the search. It must be a valid
Dn, and can't be emtpyfilter - The filter to use for this search. It can't be emptyscope - The search scope : OBJECT, ONELEVEL or SUBTREEattributes - The attributes to use for this search
EntryCursor on the result.
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.cursor.EntryCursor search(String baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
search in interface LdapConnectionbaseDn - The base for the search. It must be a valid
Dn, and can't be emtpyfilter - The filter to use for this search. It can't be emptyscope - The search scope : OBJECT, ONELEVEL or SUBTREEattributes - The attributes to use for this search
EntryCursor on the result.
org.apache.directory.api.ldap.model.exception.LdapException
public SearchFuture searchAsync(org.apache.directory.api.ldap.model.name.Dn baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
Scope : ONE DerefAlias : ALWAYS SizeLimit : none TimeLimit : none TypesOnly : false Attributes : all the user's attributes. This method is blocking.
searchAsync in interface LdapAsyncConnectionbaseDn - The base for the search, it must be a valid Dn, and can't be emptyfilter - The filter to use for this search, it can't be emptyscope - The search scope : OBJECT, ONELEVEL or SUBTREEattributes - The attributes for this search
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
public SearchFuture searchAsync(String baseDn,
String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
Scope : ONE DerefAlias : ALWAYS SizeLimit : none TimeLimit : none TypesOnly : false Attributes : all the user's attributes. This method is blocking.
searchAsync in interface LdapAsyncConnectionbaseDn - The base for the search, it must be a valid Dn, and can't be emtpyfilter - The filter to use for this search, it can't be emptyscope - The search scope : OBJECT, ONELEVEL or SUBTREEattributes - The attributes for this search
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
public SearchFuture searchAsync(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
Scope : ONE DerefAlias : ALWAYS SizeLimit : none TimeLimit : none TypesOnly : false Attributes : all the user's attributes. This method is blocking.
searchAsync in interface LdapAsyncConnectionsearchRequest - The search request to send to the server
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
public org.apache.directory.api.ldap.model.cursor.SearchCursor search(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
search in interface LdapConnectionsearchRequest - The search configuration
SearchCursor on the result.
org.apache.directory.api.ldap.model.exception.LdapException
public void unBind()
throws org.apache.directory.api.ldap.model.exception.LdapException
unBind in interface LdapConnectionorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void setConnector(org.apache.mina.core.service.IoConnector connector)
connector - The connector to usepublic void setTimeOut(long timeout)
setTimeOut in interface LdapConnectiontimeout - The timeout, in milliseconds
public void exceptionCaught(org.apache.mina.core.session.IoSession session,
Throwable cause)
throws Exception
exceptionCaught in interface org.apache.mina.core.service.IoHandlerexceptionCaught in class org.apache.mina.core.service.IoHandlerAdaptersession - The session we got the exception oncause - The exception cause
Exception - The t
public void messageReceived(org.apache.mina.core.session.IoSession session,
Object message)
throws Exception
messageReceived in interface org.apache.mina.core.service.IoHandlermessageReceived in class org.apache.mina.core.service.IoHandlerAdaptersession - The session that received a messagemessage - The received message
Exception - If there is some error while processing the message
public void modify(org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.entry.ModificationOperation modOp)
throws org.apache.directory.api.ldap.model.exception.LdapException
modify in interface LdapConnectionentry - the entry with the attributes to be modifiedmodOp - the operation to be applied on all the attributes of the above entry
org.apache.directory.api.ldap.model.exception.LdapException
public void modify(org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Modification... modifications)
throws org.apache.directory.api.ldap.model.exception.LdapException
modify in interface LdapConnectiondn - The entry's Dnmodifications - The list of modifications to be applied
org.apache.directory.api.ldap.model.exception.LdapException
public void modify(String dn,
org.apache.directory.api.ldap.model.entry.Modification... modifications)
throws org.apache.directory.api.ldap.model.exception.LdapException
modify in interface LdapConnectiondn - The entry's Dnmodifications - The list of modifications to be applied
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.message.ModifyResponse modify(org.apache.directory.api.ldap.model.message.ModifyRequest modRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
modify in interface LdapConnectionmodRequest - the request for modify operation
org.apache.directory.api.ldap.model.exception.LdapException
public ModifyFuture modifyAsync(org.apache.directory.api.ldap.model.message.ModifyRequest modRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
modifyAsync in interface LdapAsyncConnectionmodRequest - the request for modify operation
org.apache.directory.api.ldap.model.exception.LdapException - in case of modify operation failure or timeout happens
public void rename(String entryDn,
String newRdn)
throws org.apache.directory.api.ldap.model.exception.LdapException
rename in interface LdapConnectionentryDn - the target DnnewRdn - new Rdn for the target Dn
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.rename(String, String, boolean)
public void rename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Rdn newRdn)
throws org.apache.directory.api.ldap.model.exception.LdapException
rename in interface LdapConnectionentryDn - the target DnnewRdn - new Rdn for the target Dn
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.rename(org.apache.directory.api.ldap.model.name.Dn, org.apache.directory.api.ldap.model.name.Rdn, boolean)
public void rename(String entryDn,
String newRdn,
boolean deleteOldRdn)
throws org.apache.directory.api.ldap.model.exception.LdapException
rename in interface LdapConnectionentryDn - the target DnnewRdn - new Rdn for the target DndeleteOldRdn - flag to indicate whether to delete the old Rdn
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.rename(org.apache.directory.api.ldap.model.name.Dn, org.apache.directory.api.ldap.model.name.Rdn, boolean)
public void rename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Rdn newRdn,
boolean deleteOldRdn)
throws org.apache.directory.api.ldap.model.exception.LdapException
rename in interface LdapConnectionentryDn - the target DnnewRdn - new Rdn for the target DndeleteOldRdn - flag to indicate whether to delete the old Rdn
org.apache.directory.api.ldap.model.exception.LdapException
public void move(String entryDn,
String newSuperiorDn)
throws org.apache.directory.api.ldap.model.exception.LdapException
move in interface LdapConnectionentryDn - the Dn of the target entrynewSuperiorDn - Dn of the new parent/superior
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.move(org.apache.directory.api.ldap.model.name.Dn, org.apache.directory.api.ldap.model.name.Dn)
public void move(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Dn newSuperiorDn)
throws org.apache.directory.api.ldap.model.exception.LdapException
move in interface LdapConnectionentryDn - the Dn of the target entrynewSuperiorDn - Dn of the new parent/superior
org.apache.directory.api.ldap.model.exception.LdapException
public void moveAndRename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Dn newDn)
throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRename in interface LdapConnectionentryDn - The original entry DnnewDn - The new Entry Dn
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.moveAndRename(org.apache.directory.api.ldap.model.name.Dn, org.apache.directory.api.ldap.model.name.Dn, boolean)
public void moveAndRename(String entryDn,
String newDn)
throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRename in interface LdapConnectionentryDn - The original entry DnnewDn - The new Entry Dn
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.moveAndRename(org.apache.directory.api.ldap.model.name.Dn, org.apache.directory.api.ldap.model.name.Dn, boolean)
public void moveAndRename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Dn newDn,
boolean deleteOldRdn)
throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRename in interface LdapConnectionentryDn - The original entry DnnewDn - The new Entry DndeleteOldRdn - Tells if the old Rdn must be removed
org.apache.directory.api.ldap.model.exception.LdapException
public void moveAndRename(String entryDn,
String newDn,
boolean deleteOldRdn)
throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRename in interface LdapConnectionentryDn - The original entry DnnewDn - The new Entry DndeleteOldRdn - Tells if the old Rdn must be removed
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.message.ModifyDnResponse modifyDn(org.apache.directory.api.ldap.model.message.ModifyDnRequest modDnRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
modifyDn in interface LdapConnectionmodDnRequest - the request
org.apache.directory.api.ldap.model.exception.LdapException
public ModifyDnFuture modifyDnAsync(org.apache.directory.api.ldap.model.message.ModifyDnRequest modDnRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
modifyDnAsync in interface LdapAsyncConnectionmodDnRequest - the request
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
public void delete(String dn)
throws org.apache.directory.api.ldap.model.exception.LdapException
delete in interface LdapConnectiondn - the target entry's Dn as a String
org.apache.directory.api.ldap.model.exception.LdapException
public void delete(org.apache.directory.api.ldap.model.name.Dn dn)
throws org.apache.directory.api.ldap.model.exception.LdapException
delete in interface LdapConnectiondn - the target entry's Dn
org.apache.directory.api.ldap.model.exception.LdapException
public void deleteTree(org.apache.directory.api.ldap.model.name.Dn dn)
throws org.apache.directory.api.ldap.model.exception.LdapException
dn - the target entry's Dn
org.apache.directory.api.ldap.model.exception.LdapException - If the Dn is not valid or if the deletion failed
public void deleteTree(String dn)
throws org.apache.directory.api.ldap.model.exception.LdapException
dn - the target entry's Dn as a String
org.apache.directory.api.ldap.model.exception.LdapException - If the Dn is not valid or if the deletion failed
public org.apache.directory.api.ldap.model.message.DeleteResponse delete(org.apache.directory.api.ldap.model.message.DeleteRequest deleteRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
delete in interface LdapConnectiondeleteRequest - the delete operation's request
org.apache.directory.api.ldap.model.exception.LdapException
public DeleteFuture deleteAsync(org.apache.directory.api.ldap.model.message.DeleteRequest deleteRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
deleteAsync in interface LdapAsyncConnectiondeleteRequest - the delete operation's request
org.apache.directory.api.ldap.model.exception.LdapException - If the Dn is not valid or if the deletion failed
public boolean compare(String dn,
String attributeName,
String value)
throws org.apache.directory.api.ldap.model.exception.LdapException
compare in interface LdapConnectiondn - the target entry's String DnattributeName - the attribute's namevalue - a String value with which the target entry's attribute value to be compared with
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(String dn,
String attributeName,
byte[] value)
throws org.apache.directory.api.ldap.model.exception.LdapException
compare in interface LdapConnectiondn - the target entry's String DnattributeName - the attribute's namevalue - a byte[] value with which the target entry's attribute value to be compared with
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(String dn,
String attributeName,
org.apache.directory.api.ldap.model.entry.Value<?> value)
throws org.apache.directory.api.ldap.model.exception.LdapException
compare in interface LdapConnectiondn - the target entry's String DnattributeName - the attribute's namevalue - a Value> value with which the target entry's attribute value to be compared with
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(org.apache.directory.api.ldap.model.name.Dn dn,
String attributeName,
String value)
throws org.apache.directory.api.ldap.model.exception.LdapException
compare in interface LdapConnectiondn - the target entry's DnattributeName - the attribute's namevalue - a String value with which the target entry's attribute value to be compared with
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(org.apache.directory.api.ldap.model.name.Dn dn,
String attributeName,
byte[] value)
throws org.apache.directory.api.ldap.model.exception.LdapException
compare in interface LdapConnectiondn - the target entry's DnattributeName - the attribute's namevalue - a byte[] value with which the target entry's attribute value to be compared with
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(org.apache.directory.api.ldap.model.name.Dn dn,
String attributeName,
org.apache.directory.api.ldap.model.entry.Value<?> value)
throws org.apache.directory.api.ldap.model.exception.LdapException
compare in interface LdapConnectiondn - the target entry's DnattributeName - the attribute's namevalue - a Value> value with which the target entry's attribute value to be compared with
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.message.CompareResponse compare(org.apache.directory.api.ldap.model.message.CompareRequest compareRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
compare in interface LdapConnectioncompareRequest - the CompareRequest which contains the target Dn, attribute name and value
org.apache.directory.api.ldap.model.exception.LdapException
public CompareFuture compareAsync(org.apache.directory.api.ldap.model.message.CompareRequest compareRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
compareAsync in interface LdapAsyncConnectioncompareRequest - the CompareRequest which contains the target Dn, attribute name and value
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
public org.apache.directory.api.ldap.model.message.ExtendedResponse extended(String oid)
throws org.apache.directory.api.ldap.model.exception.LdapException
extended in interface LdapConnectionoid - the object identifier of the extended operation
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.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 LdapConnectionoid - the object identifier of the extended operationvalue - value to be used by the extended operation, can be a null value
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.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 LdapConnectionoid - the object identifier of the extended operation
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.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 LdapConnectionoid - the object identifier of the extended operationvalue - value to be used by the extended operation, can be a null value
org.apache.directory.api.ldap.model.exception.LdapException
public 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 LdapConnectionextendedRequest - the extended operation's request
org.apache.directory.api.ldap.model.exception.LdapException
public ExtendedFuture extendedAsync(org.apache.directory.api.ldap.model.message.ExtendedRequest extendedRequest)
throws org.apache.directory.api.ldap.model.exception.LdapException
extendedAsync in interface LdapAsyncConnectionextendedRequest - the object containing the details of the extended operation to be performed
org.apache.directory.api.ldap.model.exception.LdapException - if some error occurred
public boolean exists(String dn)
throws org.apache.directory.api.ldap.model.exception.LdapException
exists in interface LdapConnectiondn - The Dn for the entry we want to check the existence
true if the entry exists, false otherwise.
Note that if the entry exists but if the user does not have the permission to
read it, false will also be returned
org.apache.directory.api.ldap.model.exception.LdapException
public boolean exists(org.apache.directory.api.ldap.model.name.Dn dn)
throws org.apache.directory.api.ldap.model.exception.LdapException
exists in interface LdapConnectiondn - The Dn for the entry we want to check the existence
true if the entry exists, false otherwise.
Note that if the entry exists but if the user does not have the permission to
read it, false will also be returned
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry getRootDse()
throws org.apache.directory.api.ldap.model.exception.LdapException
getRootDse in interface LdapConnectionorg.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry getRootDse(String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
getRootDse in interface LdapConnectionattributes - The list of attributes to return
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry lookup(org.apache.directory.api.ldap.model.name.Dn dn)
throws org.apache.directory.api.ldap.model.exception.LdapException
lookup in interface LdapConnectiondn - the Dn of the entry to be fetched
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.lookup(org.apache.directory.api.ldap.model.name.Dn, String...)
public org.apache.directory.api.ldap.model.entry.Entry lookup(String dn)
throws org.apache.directory.api.ldap.model.exception.LdapException
lookup in interface LdapConnectiondn - the Dn of the entry to be fetched
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.lookup(String, String...)
public org.apache.directory.api.ldap.model.entry.Entry lookup(org.apache.directory.api.ldap.model.name.Dn dn,
String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
lookup in interface LdapConnectiondn - the Dn of the entry to be fetchedattributes - the attributes to be returned along with entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry lookup(org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.message.Control[] controls,
String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
lookup in interface LdapConnectiondn - the Dn of the entry to be fetchedcontrols - the controls to useattributes - the attributes to be returned along with entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry lookup(String dn,
String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
lookup in interface LdapConnectiondn - the Dn of the entry to be fetchedattributes - the attributes to be returned along with entry
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.lookup(org.apache.directory.api.ldap.model.name.Dn, String...)
public org.apache.directory.api.ldap.model.entry.Entry lookup(String dn,
org.apache.directory.api.ldap.model.message.Control[] controls,
String... attributes)
throws org.apache.directory.api.ldap.model.exception.LdapException
lookup in interface LdapConnectiondn - the Dn of the entry to be fetchedcontrols - the controls to useattributes - the attributes to be returned along with entry
org.apache.directory.api.ldap.model.exception.LdapExceptionLdapConnection.lookup(org.apache.directory.api.ldap.model.name.Dn, String...)
public boolean isControlSupported(String controlOID)
throws org.apache.directory.api.ldap.model.exception.LdapException
isControlSupported in interface LdapConnectioncontrolOID - the OID of the control
org.apache.directory.api.ldap.model.exception.LdapException
public List<String> getSupportedControls()
throws org.apache.directory.api.ldap.model.exception.LdapException
getSupportedControls in interface LdapConnectionorg.apache.directory.api.ldap.model.exception.LdapException
public void loadSchema()
throws org.apache.directory.api.ldap.model.exception.LdapException
loadSchema in interface LdapConnectionorg.apache.directory.api.ldap.model.exception.LdapException
public void loadSchema(org.apache.directory.api.ldap.model.schema.registries.SchemaLoader loader)
throws org.apache.directory.api.ldap.model.exception.LdapException
loader - the SchemaLoader to be used to load schema
org.apache.directory.api.ldap.model.exception.LdapException
public void addSchema(File schemaFile)
throws org.apache.directory.api.ldap.model.exception.LdapException
schemaFile - the schema file in OpenLDAP schema format
org.apache.directory.api.ldap.model.exception.LdapException - in case of any errors while parsing
public void addSchema(String schemaFileName)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionaddSchema(File)public org.apache.directory.api.ldap.codec.api.LdapApiService getCodecService()
getCodecService in interface LdapConnectionpublic org.apache.directory.api.ldap.model.schema.SchemaManager getSchemaManager()
getSchemaManager in interface LdapConnectionpublic LdapConnectionConfig getConfig()
getConfig in interface LdapAsyncConnectionpublic boolean doesFutureExistFor(int messageId)
doesFutureExistFor in interface LdapConnectionmessageId - ID of the request
public void addConnectionClosedEventListener(ConnectionClosedEventListener ccListener)
ccListener - the connection closed listener
public void sessionCreated(org.apache.mina.core.session.IoSession session)
throws Exception
sessionCreated in interface org.apache.mina.core.service.IoHandlersessionCreated in class org.apache.mina.core.service.IoHandlerAdaptersession - the newly created session
Exception
public void sessionClosed(org.apache.mina.core.session.IoSession session)
throws Exception
sessionClosed in interface org.apache.mina.core.service.IoHandlersessionClosed in class org.apache.mina.core.service.IoHandlerAdapterException
public void startTls()
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionpublic org.apache.directory.api.ldap.codec.api.BinaryAttributeDetector getBinaryAttributeDetector()
getBinaryAttributeDetector in interface LdapConnectionpublic void setBinaryAttributeDetector(org.apache.directory.api.ldap.codec.api.BinaryAttributeDetector binaryAttributeDetector)
setBinaryAttributeDetector in interface LdapConnection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||