Constraints for Searching

The LDAPSearchConstraints object extends LDAPConstraints by adding options that apply only to search operations. You can use an LDAPSearchConstraints object anywhere you can use an LDAPConstraints object, but the options that are specific to searching will be ignored for all operations other than search. Construct an LDAPSearchConstraints object with one of the following:

 public LDAPSearchConstraints (); public LDAPSearchConstraints ( int msLimit, int serverTimeLimit, int dereference, int maxResults, boolean doReferrals, int batchSize, LDAPRebind reauth, int hop_limit ); public LDAPSearchConstraints ( int msLimit, int serverTimeLimit, int dereference, int maxResults, boolean doReferrals, int batchSize, LDAPBind bind, ...

Get LDAP Programming with Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.