public class ScramSha256SaslClient extends ScramShaSaslClient
SaslClient implementation for SCRAM-SHA-256, as specified in RFC 5802 and RFC 7677.
The IANA-registered mechanism was renamed to "MYSQLCJ-SCRAM-SHA-256" in order to avoid future conflicts with an officially supported implementation.
When there is a Java-supported implementation for SCRAM-SHA-256, it will have to be thoroughly tested with Connector/J and if that works, 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 |
|---|
ScramSha256SaslClient(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