I'm trying to add authentication using certificates to our system using Qpid
Proton (C++) and the Qpid C++ Broker. I found out earlier that I need to set
the user() field on messages that I send, and the Qpid broker will reject
the messages if user() is set and it doesn't match the authenticated user
for that connection.

I knew that the connection has a user() member function as well, so I was
hoping once I authenticated to the broker, that I could extract the username
from that to set it in outgoing messages. Alas, I discovered that this is
only set on the server side, and not the sending side.

I could use the NSS libraries on Linux like the Qpid C++ broker to extract
the username from the certificate, but then I would need another solution on
Windows (and we're trying to avoid adding more dependencies as much as
possible).

Is there another easy way to get Proton to tell me what the username in the
certificate is?



--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to