|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ietf.ldap.LDAPConstraints
Represents a set of options to control an LDAP operation.
Constructor Summary | |
LDAPConstraints()
Constructs an LDAPConstraints object, using the default option values. |
|
LDAPConstraints(int msLimit,
boolean doReferrals,
LDAPReferralHandler handler,
int hop_limit)
Constructs a new LDAPConstraints object, using the specified operational constraints for waiting, referrals, LDAPBindHandler object, and hop limit. |
Method Summary | |
java.lang.Object |
clone()
Creates a clone of this object |
LDAPControl[] |
getControls()
Returns the controls to be sent to the server. |
int |
getHopLimit()
Returns the maximum number of hops to follow during automatic referral following. |
java.lang.Object |
getProperty(java.lang.String name)
Returns a properties constraints objects which has been assigned with set property. |
boolean |
getReferralFollowing()
Returns true if referrals are to be followed automatically. |
int |
getTimeLimit()
Returns the maximum number of milliseconds to wait for any operation under these constraints. |
void |
setControls(LDAPControl control)
Sets a control to be sent to the server. |
void |
setControls(LDAPControl[] controls)
Sets an array of controls to be sent to the server. |
void |
setHopLimit(int hop_limit)
Sets the maximum number of hops to follow in sequence during automatic referral following. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets a property of the constraints object. |
void |
setReferralFollowing(boolean doReferrals)
Specifies whether referrals are followed automatically or whether referrals throw an LDAPReferralException. |
void |
setReferralHandler(LDAPReferralHandler handler)
Specifies the object that will process authentication requests. |
void |
setTimeLimit(int msLimit)
Sets the maximum number of milliseconds the client waits for any operation under these search constraints to complete. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LDAPConstraints()
public LDAPConstraints(int msLimit, boolean doReferrals, LDAPReferralHandler handler, int hop_limit)
LDAPConstraints.LDAPConstraints(
int,boolean,LDAPReferralHandler,int)
,
com.novell.ldap.LDAPConstraints.LDAPConstraints(int, boolean,
LDAPReferralHandler, int)Method Detail |
public java.lang.Object clone()
clone
in class java.lang.Object
public int getHopLimit()
public java.lang.Object getProperty(java.lang.String name)
public boolean getReferralFollowing()
public int getTimeLimit()
public void setHopLimit(int hop_limit)
public void setReferralHandler(LDAPReferralHandler handler)
public void setReferralFollowing(boolean doReferrals)
public void setTimeLimit(int msLimit)
public LDAPControl[] getControls()
public void setControls(LDAPControl control)
public void setControls(LDAPControl[] controls)
public void setProperty(java.lang.String name, java.lang.Object value) throws LDAPException
LDAPException
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |