Hi Team,


We got requirement to Authenticate ServiceBus with RBAC(role-based access
control). At this moment this feature is not supported by Qpid JMS, but
this is supported by Microsoft SDK which internally uses Qpid Proton
library.



Reference link for not supporting -
https://docs.microsoft.com/en-us/azure/service-bus-messaging/migrate-jms-activemq-to-servicebus#authentication-and-authorization



We are trying to find a way to achieve the same functionality with the Qpid
JMS library. As Microsoft SDK achieves this functionality through Qpid
proton, so there could be a way to achieve this with Qpid JMS.



I compared both Microsoft and Qpid proton logs. I observed one major
difference - Qpid JMS library logs credential while communication, but
Microsoft SDK doesn't logs credential while connecting to ServiceBus. Still
puzzle for me - how they are able to connect to ServiceBus and establish
communication.?



Please find below sample details -

1. Microsoft

              --> sample class -
https://github.com/abhikt48/servicebus/blob/master/RBAC-logs/GenerateRBACtokenPublish.java

              --> logs -
https://github.com/abhikt48/servicebus/blob/master/RBAC-logs/Microsoft_Publish_Logs.txt

2. QPID JMS

              --> sample class -
https://github.com/abhikt48/servicebus/blob/master/RBAC-logs/QpidPublishMsg.java

              --> sample logs -
https://github.com/abhikt48/servicebus/blob/master/RBAC-logs/Qpid_Publish_logs.txt





Could you please suggest your opinion on below queries -

1) Do we have any custom way to connect ServiceBus with RBAC
authentication? If yes, then can you please provide details?

2) Can you please point out PROTON class/method who is responsible for
authentication? (Will help in debug)



Looking forward to get any input on this. Thanks in advance.



Regards,

Abhishek Kumar

Reply via email to