Interface SaslRequest
-
- All Known Implementing Classes:
AbstractSaslRequest,SaslCramMd5Request,SaslDigestMd5Request,SaslExternalRequest,SaslGssApiRequest,SaslPlainRequest
public interface SaslRequestHolds the data required to complete the SASL operation- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAuthorizationId()Gets the authorization ID.Control[]getControls()Gets the controls.byte[]getCredentials()Gets the crendentialsSaslQoPgetQualityOfProtection()Gets the quality of protection.StringgetRealmName()Gets realm name.StringgetSaslMechanism()Gets the SASL mechanism.SaslSecurityStrengthgetSecurityStrength()Gets the security strength.StringgetUsername()Gets the username.booleanisMutualAuthentication()Indicates if mutual authentication is required.
-
-
-
Method Detail
-
getAuthorizationId
String getAuthorizationId()
Gets the authorization ID.- Returns:
- the authorization ID
-
getControls
Control[] getControls()
Gets the controls.- Returns:
- the controls
-
getCredentials
byte[] getCredentials()
Gets the crendentials- Returns:
- the credentials
-
getQualityOfProtection
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
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
-
-