|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.AbstractRequest
org.ldaptive.BindRequest
public class BindRequest
Contains the data required to perform an ldap bind operation.
| Constructor Summary | |
|---|---|
BindRequest()
Default constructor. |
|
BindRequest(SaslConfig config)
Creates a new bind request. |
|
BindRequest(String dn,
Credential credential)
Creates a new bind request. |
|
BindRequest(String dn,
Credential credential,
SaslConfig config)
Creates a new bind request. |
|
| Method Summary | |
|---|---|
Credential |
getCredential()
Returns the credential used with the bind DN. |
String |
getDn()
Returns the bind DN. |
SaslConfig |
getSaslConfig()
Returns the sasl config. |
void |
setCredential(Credential credential)
Sets the credential of the bind DN. |
void |
setDn(String dn)
Sets the bind DN to authenticate as before performing operations. |
void |
setSaslConfig(SaslConfig config)
Sets the sasl config. |
String |
toString()
|
| Methods inherited from class org.ldaptive.AbstractRequest |
|---|
getControls, getFollowReferrals, getIntermediateResponseHandlers, setControls, setFollowReferrals, setIntermediateResponseHandlers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BindRequest()
public BindRequest(String dn,
Credential credential)
dn - to bind ascredential - to bind with
public BindRequest(String dn,
Credential credential,
SaslConfig config)
dn - to bind ascredential - to bind withconfig - sasl configurationpublic BindRequest(SaslConfig config)
config - sasl configuration| Method Detail |
|---|
public String getDn()
public void setDn(String dn)
dn - to bind aspublic Credential getCredential()
public void setCredential(Credential credential)
credential - to use with bind DNpublic SaslConfig getSaslConfig()
public void setSaslConfig(SaslConfig config)
config - sasl configpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||