com.rabbitmq.client.SaslMechanism |
Known Indirect Subclasses
CRDemoMechanism |
Provides equivalent security to PLAIN but demos use of Connection.Secure(Ok)
START-OK: Username
SECURE: "Please tell me your password"
SECURE-OK: Password
|
ExternalMechanism |
The EXTERNAL auth mechanism
|
PlainMechanism |
The PLAIN auth mechanism
|
|
Class Overview
Our own view of a SASL authentication mechanism, introduced to remove a
dependency on javax.security.sasl.
Public Methods
public
abstract
String
getName
()
The name of this mechanism (e.g. PLAIN)
public
abstract
LongString
handleChallenge
(LongString challenge, String username, String password)
Handle one round of challenge-response
Parameters
challenge
| the challenge this round, or null on first round. |
username
| name of user |
password
| for username |