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 Summary
Modifier and TypeMethodDescriptionGets the authorization ID.org.apache.directory.api.ldap.model.message.Control[]Gets the controls.byte[]Gets the crendentialsorg.apache.directory.api.ldap.model.constants.SaslQoPGets the quality of protection.Gets realm name.Gets the SASL mechanism.org.apache.directory.api.ldap.model.constants.SaslSecurityStrengthGets the security strength.Gets the username.booleanIndicates if mutual authentication is required.
-
Method Details
-
getAuthorizationId
-
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
-
getSaslMechanism
-
getSecurityStrength
org.apache.directory.api.ldap.model.constants.SaslSecurityStrength getSecurityStrength()Gets the security strength.- Returns:
- the security strength
-
getUsername
-
isMutualAuthentication
boolean isMutualAuthentication()Indicates if mutual authentication is required.- Returns:
- the flag indicating if mutual authentication is required
-