Class UnboundIDSaslUtils


  • public final class UnboundIDSaslUtils
    extends Object
    Support for SASL authentication.
    • Constructor Detail

      • UnboundIDSaslUtils

        private UnboundIDSaslUtils()
        Default constructor.
    • Method Detail

      • createDigestMd5Properties

        protected static com.unboundid.ldap.sdk.DIGESTMD5BindRequestProperties createDigestMd5Properties​(String username,
                                                                                                         Credential credential,
                                                                                                         SaslConfig config)
        Creates a new digest md5 request properties.
        Parameters:
        username - to bind as
        credential - to bind with
        config - to set sasl parameters
        Returns:
        digest md5 request properties
      • createGssApiProperties

        protected static com.unboundid.ldap.sdk.GSSAPIBindRequestProperties createGssApiProperties​(String username,
                                                                                                   Credential credential,
                                                                                                   SaslConfig config)
        Creates a new gssapi request properties.
        Parameters:
        username - to bind as
        credential - to bind with
        config - to set sasl parameters
        Returns:
        gssapi request properties
      • getQualityOfProtection

        protected static com.unboundid.ldap.sdk.SASLQualityOfProtection getQualityOfProtection​(QualityOfProtection qop)
        Returns the SASL quality of protection string for the supplied enum.
        Parameters:
        qop - quality of protection enum
        Returns:
        SASL quality of protection