Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Later
-
0.5
-
None
Description
Summary:
Currently the broker modifies the message to add the JMSXUserID. A better approach would be to have the client encode that detail and have the broker verify that it is correct. This means that the broker does not have to re-encode every message. It also allows the sending client to decide if they wish to include the JMSXUserID for validation.
Proposed Changes:
Removing existing modification code replacing with validation if the JMSXUserID is present. If validation is required to pass then close the connection on failures.
Augment to client to have the ability to manuall or automatically set the JMSXUserID based on the authenticated connection.
Test Strategy:
Test messages with manual user id creation(correct and incorrect), automatic user id creation.
Test broker in validation mode and lenient mode.
Testing should include performance metrics to quantify the inpact of the additional processing.