Package org.jivesoftware.smack.sasl.core
Class ScramPlusMechanism
java.lang.Object
org.jivesoftware.smack.sasl.SASLMechanism
org.jivesoftware.smack.sasl.core.ScramMechanism
org.jivesoftware.smack.sasl.core.ScramPlusMechanism
- All Implemented Interfaces:
Comparable<SASLMechanism>
- Direct Known Subclasses:
ScramSha1PlusMechanism
SCRAM-X-PLUS implementation. Due limitations of the Java API, this mechanism only supports the 'tls-server-end-point'
channel binding type. But on the other hand, the other relevant channel binding type 'tls-unique' has some flaws (see
3SHAKE, RFC 7627).
-
Field Summary
Fields inherited from class org.jivesoftware.smack.sasl.SASLMechanism
authenticationId, authorizationId, connection, connectionConfiguration, CRAMMD5, DIGESTMD5, EXTERNAL, GSSAPI, host, password, PLAIN, serviceName, sslSession
-
Constructor Summary
-
Method Summary
Methods inherited from class org.jivesoftware.smack.sasl.core.ScramMechanism
authenticateInternal, authzidSupported, checkIfSuccessfulOrThrow, evaluateChallenge, getAuthenticationText
Methods inherited from class org.jivesoftware.smack.sasl.SASLMechanism
afterFinalSaslChallenge, authenticate, authenticate, authenticateInternal, challengeReceived, compareTo, getPriority, instanceForAuthentication, isAuthenticationSuccessful, isFinished, newInstance, requiresPassword, saslPrep, setException, throwExceptionIfRequired, toBytes, toString
-
Constructor Details
-
ScramPlusMechanism
-
-
Method Details
-
getName
Description copied from class:SASLMechanism
Returns the common name of the SASL mechanism. E.g.: PLAIN, DIGEST-MD5 or GSSAPI.- Overrides:
getName
in classScramMechanism
- Returns:
- the common name of the SASL mechanism.
-
getGs2CbindFlag
Description copied from class:ScramMechanism
Get the SCRAM GSS-API Channel Binding Flag value.- Overrides:
getGs2CbindFlag
in classScramMechanism
- Returns:
- the gs2-cbind-flag value.
- See Also:
-
getChannelBindingData
Description copied from class:ScramMechanism
Get the channel binding data.- Overrides:
getChannelBindingData
in classScramMechanism
- Returns:
- the Channel Binding data.
- Throws:
SmackException.SmackSaslException
- if a SASL specific error occurred.
-