cs
doesn't work?
Try setting the sasl_allowed_mechs in your connection options. I believe it is
defaulting to ANONYMOUS, which does not use the user/password values. Try
using "PLAIN". Whatever you use must match what is supported on the
broker-side.
-Ted
On Mon, May 5, 2025 at 3:37 PM pet
the connection_options API
connection_options & sasl_allow_insecure_mechs (bool)
Force the enabling of SASL mechanisms that disclose cleartext passwords
over the connection.
I'm not very familiar with the C++ client but that sounds like it'd be needed
for PLAIN to work.
On Mon,
a password and the
broker offers that by default.
On Mon, May 5, 2025 at 5:21 PM peter.j.rich...@lmco.com
wrote:
>
> Hi Ted,
>
> > Try setting the sasl_allowed_mechs in your connection options. Try using
> > "PLAIN".
>
> I added this line to on_container_sta
Hi, I'm using version 0.37.0 of the C++ library (qpid-proton-cpp-0.37.0) and
can't figure out how to authenticate with a username/password. My test setup:
For the broker, I run ActiveMQ Classic using this command: podman run -it --rm
--net=host --env ACTIVEMQ_CONNECTION_USER=admin --env
ACTIVEM
Hi Gordon,
I installed cyrus-sasl-plain and now it works, thanks! In retrospect, the need
to install cyrus-sasl-plain was documented at
https://docs.redhat.com/en/documentation/red_hat_amq/2021.q3/html-single/using_the_amq_cpp_client/index#configuring_sasl_authentication
but I totally missed it