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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAuthorizationId()
Gets the authorization ID.Control[]
getControls()
Gets the controls.byte[]
getCredentials()
Gets the crendentialsSaslQoP
getQualityOfProtection()
Gets the quality of protection.String
getRealmName()
Gets realm name.String
getSaslMechanism()
Gets the SASL mechanism.SaslSecurityStrength
getSecurityStrength()
Gets the security strength.String
getUsername()
Gets the username.boolean
isMutualAuthentication()
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
-
-