Class AmqpSaslAuthenticator
- java.lang.Object
-
- org.apache.qpid.jms.provider.amqp.AmqpSaslAuthenticator
-
public class AmqpSaslAuthenticator extends java.lang.ObjectManage the SASL authentication process
-
-
Constructor Summary
Constructors Constructor Description AmqpSaslAuthenticator(java.util.function.Function<java.lang.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()
-
-
-
Constructor Detail
-
AmqpSaslAuthenticator
public AmqpSaslAuthenticator(java.util.function.Function<java.lang.String[],Mechanism> mechanismFinder)
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 Detail
-
isComplete
public boolean isComplete()
-
getFailureCause
public ProviderConnectionSecurityException getFailureCause()
-
wasSuccessful
public boolean wasSuccessful() throws java.lang.IllegalStateException- Throws:
java.lang.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)
-
-