com.unboundid.directory.sdk.common.operation
Interface UpdatableSimpleBindRequest

All Superinterfaces:
BindRequest, Request, SimpleBindRequest, UpdatableBindRequest, UpdatableRequest

@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface UpdatableSimpleBindRequest
extends SimpleBindRequest, UpdatableBindRequest

This interface defines a set of methods which may be used to update a simple bind request.


Method Summary
 void setDN(com.unboundid.ldap.sdk.DN dn)
          Specifies the DN of the user attempting to bind.
 void setDN(java.lang.String dn)
          Specifies the DN of the user attempting to bind.
 void setPassword(com.unboundid.util.ByteString password)
          Specifies the password for the bind request.
 void setPassword(java.lang.String password)
          Specifies the password for the bind request.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.SimpleBindRequest
getDN, getPassword, toLDAPSDKRequest
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.UpdatableRequest
addRequestControl, setRequestControls
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Request
getOperationType, getRequestControls
 

Method Detail

setDN

void setDN(java.lang.String dn)
Specifies the DN of the user attempting to bind.

Parameters:
dn - The DN of the user that is trying to authenticate. It must not be null, but it may be an empty string to indicate a zero-length DN.

setDN

void setDN(com.unboundid.ldap.sdk.DN dn)
Specifies the DN of the user attempting to bind.

Parameters:
dn - The DN of the user that is trying to authenticate. It must not be null, but it may be an empty string to indicate a zero-length DN.

setPassword

void setPassword(com.unboundid.util.ByteString password)
Specifies the password for the bind request.

Parameters:
password - The password for the bind request. It must not be null but may be a zero-length byte string for anonymous authentication.

setPassword

void setPassword(java.lang.String password)
Specifies the password for the bind request.

Parameters:
password - The password for the bind request. It must not be null but may be a zero-length byte string for anonymous authentication.