O'Reilly logo

LDAP Programming with Java™ by Tony Dahbura, Rob Weltman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required