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

All Superinterfaces:
BindResult, GenericResult, Result, UpdatableGenericResult, UpdatableResult

@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface UpdatableBindResult
extends BindResult, UpdatableGenericResult

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


Method Summary
 void setResultData(com.unboundid.ldap.sdk.LDAPResult result)
          Sets the contents of this result with information from the provided LDAP result, including the result code, diagnostic message, matched DN, referral URLs, and controls.
 void setServerSASLCredentials(com.unboundid.asn1.ASN1OctetString serverSASLCredentials)
          Specifies the server SASL credentials for the bind result, if any.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.BindResult
getServerSASLCredentials, toLDAPSDKResult
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.UpdatableGenericResult
setAdditionalLogMessage, setDiagnosticMessage, setMatchedDN, setReferralURLs, setResultCode, setResultData
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.GenericResult
getAdditionalLogMessage, getDiagnosticMessage, getMatchedDN, getReferralURLs, getResultCode
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.UpdatableResult
addResultControl, setResultControls
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Result
getOperationType, getResultControls
 

Method Detail

setServerSASLCredentials

void setServerSASLCredentials(com.unboundid.asn1.ASN1OctetString serverSASLCredentials)
Specifies the server SASL credentials for the bind result, if any.

Parameters:
serverSASLCredentials - The server SASL credentials for the bind result. It may be null if there are none.

setResultData

void setResultData(com.unboundid.ldap.sdk.LDAPResult result)
Sets the contents of this result with information from the provided LDAP result, including the result code, diagnostic message, matched DN, referral URLs, and controls. If the provided result is also an instance of an LDAP SDK BindResult, then the server SASL credentials will also be updated.

Specified by:
setResultData in interface UpdatableGenericResult
Parameters:
result - The result to use to update this result. It must not be null.