Class AmqpSaslAuthenticator
- java.lang.Object
-
- org.apache.qpid.jms.provider.amqp.AmqpSaslAuthenticator
-
public class AmqpSaslAuthenticator extends Object
Manage the SASL authentication process
-
-
Constructor Summary
Constructors Constructor Description AmqpSaslAuthenticator(Function<String[],Mechanism> mechanismFinder)Create the authenticator and initialize it.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProviderConnectionSecurityExceptiongetFailureCause()voidhandleSaslChallenge(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)booleanisComplete()booleanwasSuccessful()
-
-
-
Method Detail
-
isComplete
public boolean isComplete()
-
getFailureCause
public ProviderConnectionSecurityException getFailureCause()
-
wasSuccessful
public boolean wasSuccessful() throws IllegalStateException- 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)
-
-