Interface SaslRequest

All Known Implementing Classes:
AbstractSaslRequest, SaslCramMd5Request, SaslDigestMd5Request, SaslExternalRequest, SaslGssApiRequest, SaslPlainRequest

public interface SaslRequest
Holds the data required to complete the SASL operation
Author:
Apache Directory Project
  • Method Details

    • getAuthorizationId

      String getAuthorizationId()
      Gets the authorization ID.
      Returns:
      the authorization ID
    • getControls

      org.apache.directory.api.ldap.model.message.Control[] getControls()
      Gets the controls.
      Returns:
      the controls
    • getCredentials

      byte[] getCredentials()
      Gets the crendentials
      Returns:
      the credentials
    • getQualityOfProtection

      org.apache.directory.api.ldap.model.constants.SaslQoP getQualityOfProtection()
      Gets the quality of protection.
      Returns:
      the quality of protection
    • getRealmName

      String getRealmName()
      Gets realm name.
      Returns:
      the realm name
    • getSaslMechanism

      String getSaslMechanism()
      Gets the SASL mechanism.
      Returns:
      the SASL mechanism
    • getSecurityStrength

      org.apache.directory.api.ldap.model.constants.SaslSecurityStrength getSecurityStrength()
      Gets the security strength.
      Returns:
      the security strength
    • getUsername

      String getUsername()
      Gets the username.
      Returns:
      the username
    • isMutualAuthentication

      boolean isMutualAuthentication()
      Indicates if mutual authentication is required.
      Returns:
      the flag indicating if mutual authentication is required