Class AmqpSaslAuthenticator

java.lang.Object
org.apache.qpid.jms.provider.amqp.AmqpSaslAuthenticator

public class AmqpSaslAuthenticator extends Object
Manage the SASL authentication process
  • Constructor Details

    • AmqpSaslAuthenticator

      public AmqpSaslAuthenticator(Function<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 Details

    • 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)