public class SCRAMClientSASL extends Object implements ClientSASL
| Modifier | Constructor and Description |
|---|---|
|
SCRAMClientSASL(SCRAM scram,
String username,
String password) |
protected |
SCRAMClientSASL(SCRAM scram,
String username,
String password,
String nonce) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getInitialResponse() |
String |
getName() |
byte[] |
getResponse(byte[] challenge) |
static boolean |
isApplicable(String username,
String password) |
public SCRAMClientSASL(SCRAM scram, String username, String password)
scram - the SCRAM mechanism to useusername - the username for authenticationpassword - the password for authenticationpublic String getName()
getName in interface ClientSASLpublic byte[] getInitialResponse()
getInitialResponse in interface ClientSASLpublic byte[] getResponse(byte[] challenge)
getResponse in interface ClientSASLCopyright © 2021 The Apache Software Foundation. All rights reserved.