- All Implemented Interfaces:
- java.io.Serializable, javax.naming.ldap.Control
public class SearchOptionsControl
extends javax.naming.ldap.BasicControl
Active Directory directory synchronization (DirSync) control is an LDAP server extension that enables an application
to search an directory partition for objects that have changed since a previous state.
When you perform a DirSync search, you pass in a provider-specific data element (cookie) that identifies the
directory state at the time of the previous DirSync search. For the first search, you pass in a null cookie, and the
search returns all objects that match the filter. The search also returns a valid cookie. Store the cookie in the
same storage that you are synchronizing with the Active Directory server. On subsequent searches, get the cookie from
storage and pass it with the search request. The search results now include only the objects and attributes that have
changed since the previous state identified by the cookie. The search also returns a new cookie to store for the next
search.
- See Also:
- Serialized Form