Re: qpid cpp 0.34 get sender user Id on receiver side when using SSL authentication

2016-03-08 Thread Gordon Sim
On 08/03/16 13:13, Gordon Sim wrote: On 08/03/16 12:55, Domen Vrankar wrote: I've changed the code and opened a issue report with patches: https://issues.apache.org/jira/browse/QPID-7130 Thanks very much Domen, I'll have a look at those as soon as I can! Domen, I've committed your patches. T

Re: qpid cpp 0.34 get sender user Id on receiver side when using SSL authentication

2016-03-08 Thread Gordon Sim
On 08/03/16 12:55, Domen Vrankar wrote: I've changed the code and opened a issue report with patches: https://issues.apache.org/jira/browse/QPID-7130 Thanks very much Domen, I'll have a look at those as soon as I can! - To uns

Re: qpid cpp 0.34 get sender user Id on receiver side when using SSL authentication

2016-03-08 Thread Domen Vrankar
>> Next I wanted to get user Id from connection >> (connection_.getAuthenticatedUsername()) but I always got "dummy" >> string. I traced that to SslConnector.cpp (getSecuritySettings >> function) where the string is hardcoded. Is there a way to get user id >> (certificate nickname) from this functi

Re: qpid cpp 0.34 get sender user Id on receiver side when using SSL authentication

2016-03-07 Thread Gordon Sim
On 07/03/16 13:20, Domen Vrankar wrote: Hi, I'm using qpid C++ 0.34 both for broker and client. For authentication I'm using SSL without encryption. What I'm trying to do is to set user Id on every sent message: qpid_message.setUserId(connection_.getAuthenticatedUsername()); Reason for this is

qpid cpp 0.34 get sender user Id on receiver side when using SSL authentication

2016-03-07 Thread Domen Vrankar
Hi, I'm using qpid C++ 0.34 both for broker and client. For authentication I'm using SSL without encryption. What I'm trying to do is to set user Id on every sent message: qpid_message.setUserId(connection_.getAuthenticatedUsername()); Reason for this is that I'd like to know on the receiver side