> Could I add this by changing the Artemis project code ? No, I don't believe so. MQTT adheres to a specification and that simply doesn't include user details in the SUBSCRIBE message. No amount of changing the broker will alter that fact.
Justin On Tue, Aug 29, 2017 at 12:42 PM, Justin Bertram <[email protected]> wrote: > Since a SUBSCRIBE message doesn't contain details about the user then one > possible solution is to record that information when intercepting the > CONNECT message and then correlate that using the ID from the > org.apache.activemq.artemis.spi.core.protocol.RemotingConnection object > (i.e. using getID()). > > > Justin > > On Tue, Aug 29, 2017 at 8:53 AM, aragoubi <[email protected]> wrote: > >> Yes, and with the RemotingConnection I can get only the remote adress (ip >> adress and port). >> So it is not possible to know the user when intercepting >> MqttSubscriveMessage? >> Could I add this by changing the Artemis project code ? >> >> >> >> -- >> View this message in context: http://activemq.2283324.n4.nab >> ble.com/Artemis-Getting-client-username-when-intercepting-Mq >> ttSubscribeMessage-tp4730047p4730055.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > >
