Class AmqpSaslAuthenticator


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

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

      • isComplete

        public boolean isComplete()
      • 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)