Package org.ldaptive.provider.unboundid
Class UnboundIDSaslUtils
- java.lang.Object
-
- org.ldaptive.provider.unboundid.UnboundIDSaslUtils
-
public final class UnboundIDSaslUtils extends Object
Support for SASL authentication.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
UnboundIDSaslUtils()
Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static com.unboundid.ldap.sdk.DIGESTMD5BindRequestProperties
createDigestMd5Properties(String username, Credential credential, SaslConfig config)
Creates a new digest md5 request properties.protected static com.unboundid.ldap.sdk.GSSAPIBindRequestProperties
createGssApiProperties(String username, Credential credential, SaslConfig config)
Creates a new gssapi request properties.protected static com.unboundid.ldap.sdk.SASLQualityOfProtection
getQualityOfProtection(QualityOfProtection qop)
Returns the SASL quality of protection string for the supplied enum.
-
-
-
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 ascredential
- to bind withconfig
- 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 ascredential
- to bind withconfig
- 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
-
-