|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ietf.ldap.LDAPConstraints
public class LDAPConstraints
Represents a set of options to control an LDAP operation.
Nested Class Summary | |
---|---|
private class |
LDAPConstraints.AuthHandlerImpl
Wrapper object for LDAPAuthHandler LDAPReferralHandler |
private class |
LDAPConstraints.BindHandlerImpl
Wrapper object for LDAPBindHandler LDAPReferralHandler |
Field Summary | |
---|---|
private LDAPConstraints |
cons
|
private LDAPReferralHandler |
refHandler
|
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. |
|
LDAPConstraints(LDAPConstraints cons)
Constructs LDAPConstraints from a com.novell.ldap.LDAPConstraints |
|
LDAPConstraints(LDAPConstraints cons)
Constructs a com.novell.ldap.LDAPConstraints object from an LDAPConstraints object |
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. |
(package private) LDAPReferralHandler |
getReferralHandler()
Gets the referral handler |
int |
getTimeLimit()
Returns the maximum number of milliseconds to wait for any operation under these constraints. |
(package private) LDAPConstraints |
getWrappedObject()
Returns the Constraints object |
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 |
Field Detail |
---|
private LDAPConstraints cons
private LDAPReferralHandler refHandler
Constructor Detail |
---|
LDAPConstraints(LDAPConstraints cons)
LDAPConstraints(LDAPConstraints cons)
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
LDAPConstraints getWrappedObject()
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)
LDAPReferralHandler getReferralHandler()
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
|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |