Class SCRAMClientSASL
java.lang.Object
org.apache.activemq.artemis.protocol.amqp.sasl.scram.SCRAMClientSASL
- All Implemented Interfaces:
ClientSASL
implements the client part of SASL-SCRAM for broker interconnect
-
Constructor Summary
ConstructorsModifierConstructorDescriptionSCRAMClientSASL(SCRAM scram, String username, String password) protectedSCRAMClientSASL(SCRAM scram, String username, String password, String nonce) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getName()byte[]getResponse(byte[] challenge) static booleanisApplicable(String username, String password)
-
Constructor Details
-
SCRAMClientSASL
-
SCRAMClientSASL
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceClientSASL
-
getInitialResponse
public byte[] getInitialResponse()- Specified by:
getInitialResponsein interfaceClientSASL
-
getResponse
public byte[] getResponse(byte[] challenge) - Specified by:
getResponsein interfaceClientSASL
-
isApplicable
-