Package com.unboundid.ldap.sdk
Class SASLBindInProgressException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.unboundid.util.LDAPSDKException
com.unboundid.ldap.sdk.LDAPException
com.unboundid.ldap.sdk.LDAPBindException
com.unboundid.ldap.sdk.SASLBindInProgressException
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class SASLBindInProgressException
extends LDAPBindException
This class defines an exception that can be thrown if the server sends a bind
response with a result code of
ResultCode.SASL_BIND_IN_PROGRESS,
which indicates that SASL bind processing has not yet completed. This is not
an error, but neither does it indicate that bind processing has completed.
This exception provides access to the bind result and the server SASL
credentials that it may optionally contain so that this information may be
used to continue bind processing.- See Also:
-
Field Summary
Fields inherited from class com.unboundid.ldap.sdk.LDAPException
NO_CONTROLS, NO_REFERRALS -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the bind result that was returned by the server.Retrieves the server SASL credentials included in the bind result, if any.Methods inherited from class com.unboundid.ldap.sdk.LDAPBindException
toLDAPResultMethods inherited from class com.unboundid.ldap.sdk.LDAPException
getDiagnosticMessage, getExceptionMessage, getExceptionMessage, getMatchedDN, getReferralURLs, getResponseControl, getResponseControls, getResultCode, getResultString, hasResponseControl, hasResponseControl, toString, toStringMethods inherited from class com.unboundid.util.LDAPSDKException
toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Method Details
-
getBindResult
Retrieves the bind result that was returned by the server.- Overrides:
getBindResultin classLDAPBindException- Returns:
- The bind result that was returned by the server.
-
getServerSASLCredentials
Retrieves the server SASL credentials included in the bind result, if any.- Overrides:
getServerSASLCredentialsin classLDAPBindException- Returns:
- The server SASL credentials included in the bind result, or
nullif the bind result did not include any server SASL credentials.
-