public class LdapConProxy
extends java.lang.Object
implements org.apache.directory.ldap.client.api.LdapConnection, java.lang.AutoCloseable
Constructor and Description |
---|
LdapConProxy(org.apache.directory.ldap.client.api.LdapConnectionConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
abandon(org.apache.directory.api.ldap.model.message.AbandonRequest abandonRequest) |
void |
abandon(int messageId) |
org.apache.directory.api.ldap.model.message.AddResponse |
add(org.apache.directory.api.ldap.model.message.AddRequest addRequest) |
void |
add(org.apache.directory.api.ldap.model.entry.Entry entry) |
void |
anonymousBind() |
void |
bind() |
org.apache.directory.api.ldap.model.message.BindResponse |
bind(org.apache.directory.api.ldap.model.message.BindRequest bindRequest) |
void |
bind(org.apache.directory.api.ldap.model.name.Dn name) |
void |
bind(org.apache.directory.api.ldap.model.name.Dn name,
java.lang.String credentials) |
void |
bind(java.lang.String name) |
void |
bind(java.lang.String name,
java.lang.String credentials) |
void |
close() |
org.apache.directory.api.ldap.model.message.CompareResponse |
compare(org.apache.directory.api.ldap.model.message.CompareRequest compareRequest) |
boolean |
compare(org.apache.directory.api.ldap.model.name.Dn dn,
java.lang.String attributeName,
byte[] value) |
boolean |
compare(org.apache.directory.api.ldap.model.name.Dn dn,
java.lang.String attributeName,
java.lang.String value) |
boolean |
compare(org.apache.directory.api.ldap.model.name.Dn dn,
java.lang.String attributeName,
org.apache.directory.api.ldap.model.entry.Value<?> value) |
boolean |
compare(java.lang.String dn,
java.lang.String attributeName,
byte[] value) |
boolean |
compare(java.lang.String dn,
java.lang.String attributeName,
java.lang.String value) |
boolean |
compare(java.lang.String dn,
java.lang.String attributeName,
org.apache.directory.api.ldap.model.entry.Value<?> value) |
boolean |
connect() |
org.apache.directory.api.ldap.model.message.DeleteResponse |
delete(org.apache.directory.api.ldap.model.message.DeleteRequest deleteRequest) |
void |
delete(org.apache.directory.api.ldap.model.name.Dn dn) |
void |
delete(java.lang.String dn) |
boolean |
doesFutureExistFor(int messageId) |
boolean |
exists(org.apache.directory.api.ldap.model.name.Dn dn) |
boolean |
exists(java.lang.String dn) |
org.apache.directory.api.ldap.model.message.ExtendedResponse |
extended(org.apache.directory.api.ldap.model.message.ExtendedRequest extendedRequest) |
org.apache.directory.api.ldap.model.message.ExtendedResponse |
extended(org.apache.directory.api.asn1.util.Oid oid) |
org.apache.directory.api.ldap.model.message.ExtendedResponse |
extended(org.apache.directory.api.asn1.util.Oid oid,
byte[] value) |
org.apache.directory.api.ldap.model.message.ExtendedResponse |
extended(java.lang.String oid) |
org.apache.directory.api.ldap.model.message.ExtendedResponse |
extended(java.lang.String oid,
byte[] value) |
protected void |
finalize() |
org.apache.directory.api.ldap.codec.api.BinaryAttributeDetector |
getBinaryAttributeDetector() |
org.apache.directory.api.ldap.codec.api.LdapApiService |
getCodecService() |
org.apache.directory.ldap.client.api.LdapConnectionConfig |
getConfig() |
org.apache.directory.api.ldap.model.entry.Entry |
getRootDse() |
org.apache.directory.api.ldap.model.entry.Entry |
getRootDse(java.lang.String... attributes) |
org.apache.directory.api.ldap.model.schema.SchemaManager |
getSchemaManager() |
java.util.List<java.lang.String> |
getSupportedControls() |
boolean |
isAuthenticated() |
boolean |
isConnected() |
boolean |
isControlSupported(java.lang.String controlOID) |
void |
loadSchema() |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(org.apache.directory.api.ldap.model.name.Dn 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,
java.lang.String... attributes) |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(org.apache.directory.api.ldap.model.name.Dn dn,
java.lang.String... attributes) |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(java.lang.String dn) |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(java.lang.String dn,
org.apache.directory.api.ldap.model.message.Control[] controls,
java.lang.String... attributes) |
org.apache.directory.api.ldap.model.entry.Entry |
lookup(java.lang.String dn,
java.lang.String... attributes) |
void |
modify(org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Modification... modifications) |
void |
modify(org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.entry.ModificationOperation modOp) |
org.apache.directory.api.ldap.model.message.ModifyResponse |
modify(org.apache.directory.api.ldap.model.message.ModifyRequest modRequest) |
void |
modify(java.lang.String dn,
org.apache.directory.api.ldap.model.entry.Modification... modifications) |
org.apache.directory.api.ldap.model.message.ModifyDnResponse |
modifyDn(org.apache.directory.api.ldap.model.message.ModifyDnRequest modDnRequest) |
void |
move(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Dn newSuperiorDn) |
void |
move(java.lang.String entryDn,
java.lang.String newSuperiorDn) |
void |
moveAndRename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Dn newDn) |
void |
moveAndRename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Dn newDn,
boolean deleteOldRdn) |
void |
moveAndRename(java.lang.String entryDn,
java.lang.String newDn) |
void |
moveAndRename(java.lang.String entryDn,
java.lang.String newDn,
boolean deleteOldRdn) |
void |
rename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Rdn newRdn) |
void |
rename(org.apache.directory.api.ldap.model.name.Dn entryDn,
org.apache.directory.api.ldap.model.name.Rdn newRdn,
boolean deleteOldRdn) |
void |
rename(java.lang.String entryDn,
java.lang.String newRdn) |
void |
rename(java.lang.String entryDn,
java.lang.String newRdn,
boolean deleteOldRdn) |
org.apache.directory.api.ldap.model.cursor.EntryCursor |
search(org.apache.directory.api.ldap.model.name.Dn baseDn,
java.lang.String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
java.lang.String... attributes) |
org.apache.directory.api.ldap.model.cursor.SearchCursor |
search(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest) |
org.apache.directory.api.ldap.model.cursor.EntryCursor |
search(java.lang.String baseDn,
java.lang.String filter,
org.apache.directory.api.ldap.model.message.SearchScope scope,
java.lang.String... attributes) |
void |
setBinaryAttributeDetector(org.apache.directory.api.ldap.codec.api.BinaryAttributeDetector binaryAttributeDetecter) |
void |
setSchemaManager(org.apache.directory.api.ldap.model.schema.SchemaManager arg0) |
void |
setTimeOut(long timeOut) |
void |
unBind() |
public LdapConProxy(org.apache.directory.ldap.client.api.LdapConnectionConfig config)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public boolean isConnected()
isConnected
in interface org.apache.directory.ldap.client.api.LdapConnection
public boolean isAuthenticated()
isAuthenticated
in interface org.apache.directory.ldap.client.api.LdapConnection
public boolean connect() throws org.apache.directory.api.ldap.model.exception.LdapException
connect
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface org.apache.directory.ldap.client.api.LdapConnection
java.io.IOException
public void add(org.apache.directory.api.ldap.model.entry.Entry entry) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void abandon(int messageId)
abandon
in interface org.apache.directory.ldap.client.api.LdapConnection
public void abandon(org.apache.directory.api.ldap.model.message.AbandonRequest abandonRequest)
abandon
in interface org.apache.directory.ldap.client.api.LdapConnection
public void bind() throws org.apache.directory.api.ldap.model.exception.LdapException
bind
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void anonymousBind() throws org.apache.directory.api.ldap.model.exception.LdapException
anonymousBind
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void bind(java.lang.String name) throws org.apache.directory.api.ldap.model.exception.LdapException
bind
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void bind(java.lang.String name, java.lang.String credentials) throws org.apache.directory.api.ldap.model.exception.LdapException
bind
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void bind(org.apache.directory.api.ldap.model.name.Dn name) throws org.apache.directory.api.ldap.model.exception.LdapException
bind
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void bind(org.apache.directory.api.ldap.model.name.Dn name, java.lang.String credentials) throws org.apache.directory.api.ldap.model.exception.LdapException
bind
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
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
bind
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.cursor.EntryCursor search(org.apache.directory.api.ldap.model.name.Dn baseDn, java.lang.String filter, org.apache.directory.api.ldap.model.message.SearchScope scope, java.lang.String... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
search
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.cursor.EntryCursor search(java.lang.String baseDn, java.lang.String filter, org.apache.directory.api.ldap.model.message.SearchScope scope, java.lang.String... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
search
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void unBind() throws org.apache.directory.api.ldap.model.exception.LdapException
unBind
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void setTimeOut(long timeOut)
setTimeOut
in interface org.apache.directory.ldap.client.api.LdapConnection
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void modify(java.lang.String dn, org.apache.directory.api.ldap.model.entry.Modification... modifications) throws org.apache.directory.api.ldap.model.exception.LdapException
modify
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
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 org.apache.directory.ldap.client.api.LdapConnection
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void rename(java.lang.String entryDn, java.lang.String newRdn) throws org.apache.directory.api.ldap.model.exception.LdapException
rename
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void rename(java.lang.String entryDn, java.lang.String newRdn, boolean deleteOldRdn) throws org.apache.directory.api.ldap.model.exception.LdapException
rename
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void move(java.lang.String entryDn, java.lang.String newSuperiorDn) throws org.apache.directory.api.ldap.model.exception.LdapException
move
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
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 org.apache.directory.ldap.client.api.LdapConnection
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void moveAndRename(java.lang.String entryDn, java.lang.String newDn) throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRename
in interface org.apache.directory.ldap.client.api.LdapConnection
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, boolean deleteOldRdn) throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRename
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void moveAndRename(java.lang.String entryDn, java.lang.String newDn, boolean deleteOldRdn) throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRename
in interface org.apache.directory.ldap.client.api.LdapConnection
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void delete(java.lang.String dn) throws org.apache.directory.api.ldap.model.exception.LdapException
delete
in interface org.apache.directory.ldap.client.api.LdapConnection
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(java.lang.String dn, java.lang.String attributeName, java.lang.String value) throws org.apache.directory.api.ldap.model.exception.LdapException
compare
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(java.lang.String dn, java.lang.String attributeName, byte[] value) throws org.apache.directory.api.ldap.model.exception.LdapException
compare
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(java.lang.String dn, java.lang.String attributeName, org.apache.directory.api.ldap.model.entry.Value<?> value) throws org.apache.directory.api.ldap.model.exception.LdapException
compare
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(org.apache.directory.api.ldap.model.name.Dn dn, java.lang.String attributeName, java.lang.String value) throws org.apache.directory.api.ldap.model.exception.LdapException
compare
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(org.apache.directory.api.ldap.model.name.Dn dn, java.lang.String attributeName, byte[] value) throws org.apache.directory.api.ldap.model.exception.LdapException
compare
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public boolean compare(org.apache.directory.api.ldap.model.name.Dn dn, java.lang.String attributeName, org.apache.directory.api.ldap.model.entry.Value<?> value) throws org.apache.directory.api.ldap.model.exception.LdapException
compare
in interface org.apache.directory.ldap.client.api.LdapConnection
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.message.ExtendedResponse extended(java.lang.String oid) throws org.apache.directory.api.ldap.model.exception.LdapException
extended
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.message.ExtendedResponse extended(java.lang.String oid, byte[] value) throws org.apache.directory.api.ldap.model.exception.LdapException
extended
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
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 org.apache.directory.ldap.client.api.LdapConnection
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public boolean exists(java.lang.String dn) throws org.apache.directory.api.ldap.model.exception.LdapException
exists
in interface org.apache.directory.ldap.client.api.LdapConnection
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 org.apache.directory.ldap.client.api.LdapConnection
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry getRootDse(java.lang.String... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
getRootDse
in interface org.apache.directory.ldap.client.api.LdapConnection
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 org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry lookup(java.lang.String dn) throws org.apache.directory.api.ldap.model.exception.LdapException
lookup
in interface org.apache.directory.ldap.client.api.LdapConnection
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, java.lang.String... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
lookup
in interface org.apache.directory.ldap.client.api.LdapConnection
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, java.lang.String... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
lookup
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry lookup(java.lang.String dn, java.lang.String... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
lookup
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry lookup(java.lang.String dn, org.apache.directory.api.ldap.model.message.Control[] controls, java.lang.String... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
lookup
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public boolean isControlSupported(java.lang.String controlOID) throws org.apache.directory.api.ldap.model.exception.LdapException
isControlSupported
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public java.util.List<java.lang.String> getSupportedControls() throws org.apache.directory.api.ldap.model.exception.LdapException
getSupportedControls
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public void loadSchema() throws org.apache.directory.api.ldap.model.exception.LdapException
loadSchema
in interface org.apache.directory.ldap.client.api.LdapConnection
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.schema.SchemaManager getSchemaManager()
getSchemaManager
in interface org.apache.directory.ldap.client.api.LdapConnection
public org.apache.directory.api.ldap.codec.api.LdapApiService getCodecService()
getCodecService
in interface org.apache.directory.ldap.client.api.LdapConnection
public boolean doesFutureExistFor(int messageId)
doesFutureExistFor
in interface org.apache.directory.ldap.client.api.LdapConnection
public org.apache.directory.api.ldap.codec.api.BinaryAttributeDetector getBinaryAttributeDetector()
getBinaryAttributeDetector
in interface org.apache.directory.ldap.client.api.LdapConnection
public void setBinaryAttributeDetector(org.apache.directory.api.ldap.codec.api.BinaryAttributeDetector binaryAttributeDetecter)
setBinaryAttributeDetector
in interface org.apache.directory.ldap.client.api.LdapConnection
public void setSchemaManager(org.apache.directory.api.ldap.model.schema.SchemaManager arg0)
setSchemaManager
in interface org.apache.directory.ldap.client.api.LdapConnection
public org.apache.directory.ldap.client.api.LdapConnectionConfig getConfig()
Copyright © 2021. All Rights Reserved.