Hello,
I'm implementing a server that receives messages containing commands. All the sessions require username/password authentication.
Is there a way to find out the authenticated user that sends the message? Idealy it should be a property of the message; however it does not seem to be the case.
Any hint would be appreciated.
You should add the userName using a property. Maybe you could add an interceptor to add the property you want.