Hi,
I am using the qpid proton library to connect to Broker( Apache ActiveMQ
Artemis).
The authentication mechanism must be  SALS SCRAM_SHA-256.
i tried to configure Qpid proton client to use this mechanism via the
following methods

            std::string MECHANISM = "SCRAM-SHA-256";
            ConnectionOptions.sasl_allowed_mechs(MECHANISM);
            ConnectionOptions.sasl_allow_insecure_mechs(true);
            ConnectionOptions.sasl_enabled(true);
            ConnectionOptions.user("guest");
            ConnectionOptions.password("guest");

but it dont work out. I got the following error message

amqp:unauthorized-access: Authentication failed [mech=none]

so my question wether qpid proton client support this mechanism and if so,
how i am supposed to configure it

Reply via email to