Keith Wall created QPID-7243:
--------------------------------

             Summary: Make legacy JMS client publish messages with domain 
qualified userid
                 Key: QPID-7243
                 URL: https://issues.apache.org/jira/browse/QPID-7243
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker, Java Client
            Reporter: Keith Wall


The Java Client currently populates {{JMSXUserId}} of published messages with 
the userid that the client used to authenticate to the Broker.   When the 
client is in use with the Java Broker which supports the feature, it should 
pass the domain qualified name, supplied by the Broker instead.

To do this, message source $virtualhostproperties will have an extra header 
authenticatedUser which will contain the serialised form of the principal.    
If this is populated, the client MUST use this value in preference to the value 
it used when it authenticated.

The Java Broker messageAuthorizationRequired feature must be relaxed to allow 
either the the realm qualified form, or bare form.  The latter is required for 
compatibility with clients which don't support the feature.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to