Class PlainMechanism
- java.lang.Object
-
- org.apache.activemq.transport.amqp.sasl.AbstractSaslMechanism
-
- org.apache.activemq.transport.amqp.sasl.PlainMechanism
-
- All Implemented Interfaces:
SaslMechanism
public class PlainMechanism extends AbstractSaslMechanism
Implements the SASL Plain mechanism.
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.transport.amqp.sasl.AbstractSaslMechanism
failed, failureReason, password, username
-
-
Constructor Summary
Constructors Constructor Description PlainMechanism()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMechanismName()
void
processSaslStep(org.apache.qpid.proton.engine.Sasl sasl)
Perform the SASL processing for this mechanism type.-
Methods inherited from class org.apache.activemq.transport.amqp.sasl.AbstractSaslMechanism
getFailureReason, getPassword, getUsername, isFailed
-
-
-
-
Method Detail
-
processSaslStep
public void processSaslStep(org.apache.qpid.proton.engine.Sasl sasl)
Description copied from interface:SaslMechanism
Perform the SASL processing for this mechanism type.- Parameters:
sasl
- the SASL server that has read the incoming SASL exchange.
-
getMechanismName
public String getMechanismName()
- Returns:
- the name of the implemented SASL mechanism.
-
-