public class PlainMechanism extends java.lang.Object implements SaslMechanism
Constructor and Description |
---|
PlainMechanism() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
The name of this mechanism (e.g.
|
LongString |
handleChallenge(LongString challenge,
ConnectionFactory factory)
Handle one round of challenge-response
|
public java.lang.String getName()
SaslMechanism
getName
in interface SaslMechanism
public LongString handleChallenge(LongString challenge, ConnectionFactory factory)
SaslMechanism
handleChallenge
in interface SaslMechanism
challenge
- the challenge this round, or null on first round.factory
- for reference to e.g. username and password.