public interface LDAPControl
Modifier and Type | Method and Description |
---|---|
void |
close()
close the LDAPDirectory server connection
|
LDAPEntry |
read(java.lang.String dn)
It reads LDAPEntry for specified DN.
|
void |
returnCookieConnection(java.lang.String cookie)
Release LDAP Connection with cookie argument
|
LDAPEntry[] |
search(java.lang.String dn,
int scope,
java.lang.String filter,
java.lang.String[] attributes,
boolean returnValues)
Simply search with filter given and return the attributes requested
|
LDAPEntry[] |
search(java.lang.String dn,
int scope,
java.lang.String filter,
java.lang.String[] attributes,
boolean returnValues,
LDAPSearchConstraints searchConstraints)
Simply search with filter given and return the attributes requested and
it performs the search specified by the parameters, using the specified
search constraints.
|
java.lang.String |
search(java.lang.String dn,
int scope,
java.lang.String filter,
java.lang.String[] attributes,
boolean returnValues,
java.lang.String cookie,
java.util.ArrayList<?> list)
Serach LDAP Entries with the help of Cursor
|
void |
updateAttributes(java.lang.String dn,
LDAPModification[] ldapAttributeModification)
It updates the LDAPEntry attributes with add, delete, modify operations.
|
void |
updateEntry(LDAPEntryModification ldapEntryModification)
It updates the LDAPEntry with add, delete, modify and rename operations.
|
void updateEntry(LDAPEntryModification ldapEntryModification) throws DirectoryException
ldapEntryModification
- DirectoryException
void updateAttributes(java.lang.String dn, LDAPModification[] ldapAttributeModification) throws DirectoryException
entry
- ldapAttributeModification
- DirectoryException
LDAPEntry[] search(java.lang.String dn, int scope, java.lang.String filter, java.lang.String[] attributes, boolean returnValues, LDAPSearchConstraints searchConstraints) throws DirectoryException
dn
- scope
- filter
- attributes
- returnValues
- searchConstraints
- DirectoryException
java.lang.String search(java.lang.String dn, int scope, java.lang.String filter, java.lang.String[] attributes, boolean returnValues, java.lang.String cookie, java.util.ArrayList<?> list) throws DirectoryException
dn
- scope
- filter
- attributes
- returnValues
- cookie
- list
- DirectoryException
void returnCookieConnection(java.lang.String cookie)
cookie
- LDAPEntry[] search(java.lang.String dn, int scope, java.lang.String filter, java.lang.String[] attributes, boolean returnValues) throws DirectoryException
dn
- scope
- filter
- attributes
- returnValues
- DirectoryException
LDAPEntry read(java.lang.String dn) throws DirectoryException
dn
- DirectoryException
void close() throws DirectoryException
DirectoryException