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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setResultData(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(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.GenericResult
getAdditionalLogMessage, getDiagnosticMessage, getMatchedDN, getReferralURLs, getResultCode
-
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Result
getOperationType, getResultControls
-
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.UpdatableResult
addResultControl, setResultControls
-
-
-
-
Method Detail
-
setServerSASLCredentials
void setServerSASLCredentials(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 benull
if there are none.
-
setResultData
void setResultData(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 SDKBindResult
, then the server SASL credentials will also be updated.- Specified by:
setResultData
in interfaceUpdatableGenericResult
- Parameters:
result
- The result to use to update this result. It must not benull
.
-
-