public abstract class ScramMechanism extends SASLMechanism
authenticationId, authorizationId, connection, connectionConfiguration, CRAMMD5, DIGESTMD5, EXTERNAL, GSSAPI, host, password, PLAIN, serviceName, sslSession| Modifier | Constructor and Description |
|---|---|
protected |
ScramMechanism(ScramHmac scramHmac) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
authenticateInternal(javax.security.auth.callback.CallbackHandler cbh) |
boolean |
authzidSupported() |
void |
checkIfSuccessfulOrThrow() |
protected byte[] |
evaluateChallenge(byte[] challenge)
Evaluate the SASL challenge.
|
protected byte[] |
getAuthenticationText()
Should return the initial response of the SASL mechanism.
|
protected byte[] |
getChannelBindingData() |
protected java.lang.String |
getChannelBindingName() |
java.lang.String |
getName()
Returns the common name of the SASL mechanism.
|
authenticate, authenticate, authenticateInternal, challengeReceived, compareTo, getPriority, instanceForAuthentication, newInstance, saslPrep, toBytes, toStringprotected ScramMechanism(ScramHmac scramHmac)
protected void authenticateInternal(javax.security.auth.callback.CallbackHandler cbh)
throws SmackException
authenticateInternal in class SASLMechanismSmackExceptionprotected byte[] getAuthenticationText()
throws SmackException
SASLMechanismnull or an
empty array here.getAuthenticationText in class SASLMechanismSmackExceptionpublic java.lang.String getName()
SASLMechanismgetName in class SASLMechanismpublic void checkIfSuccessfulOrThrow()
throws SmackException
checkIfSuccessfulOrThrow in class SASLMechanismSmackExceptionpublic boolean authzidSupported()
authzidSupported in class SASLMechanismprotected byte[] evaluateChallenge(byte[] challenge)
throws SmackException
SASLMechanismevaluateChallenge in class SASLMechanismchallenge - challenge to evaluate.SmackException - in case of an error.protected java.lang.String getChannelBindingName()
protected byte[] getChannelBindingData()
throws SmackException
SmackException