public final class ApacheLdapSaslUtils extends Object
Modifier | Constructor and Description |
---|---|
private |
ApacheLdapSaslUtils()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected static org.apache.directory.ldap.client.api.SaslCramMd5Request |
createCramMd5Request(String username,
Credential credential,
SaslConfig config)
Creates a new cram md5 request.
|
protected static org.apache.directory.ldap.client.api.SaslDigestMd5Request |
createDigestMd5Request(String username,
Credential credential,
SaslConfig config)
Creates a new digest md5 request.
|
protected static org.apache.directory.ldap.client.api.SaslGssApiRequest |
createGssApiRequest(String username,
Credential credential,
SaslConfig config)
Creates a new gssapi request.
|
protected static org.apache.directory.api.ldap.model.constants.SaslQoP |
getQualityOfProtection(QualityOfProtection qop)
Returns the SASL quality of protection string for the supplied enum.
|
protected static org.apache.directory.api.ldap.model.constants.SaslSecurityStrength |
getSecurityStrength(SecurityStrength ss)
Returns the SASL security strength string for the supplied enum.
|
protected static org.apache.directory.ldap.client.api.SaslDigestMd5Request createDigestMd5Request(String username, Credential credential, SaslConfig config)
username
- to bind ascredential
- to bind withconfig
- to set sasl parametersprotected static org.apache.directory.ldap.client.api.SaslCramMd5Request createCramMd5Request(String username, Credential credential, SaslConfig config)
username
- to bind ascredential
- to bind withconfig
- to set sasl parametersprotected static org.apache.directory.ldap.client.api.SaslGssApiRequest createGssApiRequest(String username, Credential credential, SaslConfig config)
username
- to bind ascredential
- to bind withconfig
- to set sasl parametersprotected static org.apache.directory.api.ldap.model.constants.SaslQoP getQualityOfProtection(QualityOfProtection qop)
qop
- quality of protection enumprotected static org.apache.directory.api.ldap.model.constants.SaslSecurityStrength getSecurityStrength(SecurityStrength ss)
ss
- security strength enumCopyright © 2003-2019 Virginia Tech. All Rights Reserved.