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

All Superinterfaces:
BindRequest, Request
All Known Subinterfaces:
UpdatableSASLBindRequest

@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface SASLBindRequest
extends BindRequest

This interface defines a set of methods which may be used to interact with a SASL bind request.


Method Summary
 com.unboundid.asn1.ASN1OctetString getSASLCredentials()
          Retrieves the SASL credentials for the bind request, if any.
 java.lang.String getSASLMechanism()
          Retrieves the name of the SASL mechanism to use.
 com.unboundid.ldap.sdk.SASLBindRequest toLDAPSDKRequest()
          Retrieves an LDAP SDK representation of this SASL bind request.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Request
getOperationType, getRequestControls
 

Method Detail

getSASLMechanism

java.lang.String getSASLMechanism()
Retrieves the name of the SASL mechanism to use.

Returns:
The name of the SASL mechanism to use.

getSASLCredentials

com.unboundid.asn1.ASN1OctetString getSASLCredentials()
Retrieves the SASL credentials for the bind request, if any.

Returns:
The SASL credentials for the bind request, or null if there are none.

toLDAPSDKRequest

com.unboundid.ldap.sdk.SASLBindRequest toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this SASL bind request.

Specified by:
toLDAPSDKRequest in interface BindRequest
Returns:
An LDAP SDK representation of this SASL bind request.