Class AmqpSaslAuthenticator
java.lang.Object
org.apache.qpid.jms.provider.amqp.AmqpSaslAuthenticator
Manage the SASL authentication process
-
Constructor Summary
ConstructorsConstructorDescriptionAmqpSaslAuthenticator(Function<String[], Mechanism> mechanismFinder) Create the authenticator and initialize it. -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleSaslChallenge(org.apache.qpid.proton.engine.Sasl sasl, org.apache.qpid.proton.engine.Transport transport) voidhandleSaslMechanisms(org.apache.qpid.proton.engine.Sasl sasl, org.apache.qpid.proton.engine.Transport transport) voidhandleSaslOutcome(org.apache.qpid.proton.engine.Sasl sasl, org.apache.qpid.proton.engine.Transport transport) booleanboolean
-
Constructor Details
-
AmqpSaslAuthenticator
Create the authenticator and initialize it.- Parameters:
mechanismFinder- An object that is used to locate the most correct SASL Mechanism to perform the authentication.
-
-
Method Details
-
isComplete
public boolean isComplete() -
getFailureCause
-
wasSuccessful
- Throws:
IllegalStateException
-
handleSaslMechanisms
public void handleSaslMechanisms(org.apache.qpid.proton.engine.Sasl sasl, org.apache.qpid.proton.engine.Transport transport) -
handleSaslChallenge
public void handleSaslChallenge(org.apache.qpid.proton.engine.Sasl sasl, org.apache.qpid.proton.engine.Transport transport) -
handleSaslOutcome
public void handleSaslOutcome(org.apache.qpid.proton.engine.Sasl sasl, org.apache.qpid.proton.engine.Transport transport)
-