public class ScramSha1SaslClient extends ScramShaSaslClient
SaslClient implementation for SCRAM-SHA-1, as specified in RFC 5802.
The IANA-registered mechanism name was renamed to "MYSQLCJ-SCRAM-SHA-1" in order to avoid future conflicts with an officially supported one. If/when there is
a Java supported SCRAM-SHA-1 then it will have to be thoroughly tested and this code can be obsoleted.ScramShaSaslClient.ScramExchangeStage| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IANA_MECHANISM_NAME |
static java.lang.String |
MECHANISM_NAME |
authenticationId, authorizationId, CLIENT_KEY, clientFirstMessageBare, cNonce, GS2_CBIND_FLAG, gs2Header, MINIMUM_ITERATIONS, password, scramStage, SERVER_KEY, serverSignature| Constructor and Description |
|---|
ScramSha1SaslClient(java.lang.String authorizationId,
java.lang.String authenticationId,
java.lang.String password) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMechanismName() |
dispose, evaluateChallenge, getNegotiatedProperty, hasInitialResponse, isComplete, unwrap, wrappublic static final java.lang.String IANA_MECHANISM_NAME
public static final java.lang.String MECHANISM_NAME