Forward authenticated jms user to service
-----------------------------------------
Key: SM-823
URL: https://issues.apache.org/activemq/browse/SM-823
Project: ServiceMix
Issue Type: New Feature
Components: servicemix-jms
Reporter: Christian Schneider
A jms endpoint that offers a soap/jms service should read the authenticated
username from the jms message and forward it through the
message exchange to the called service. So this service can do further
authorisation.
To send the username the jms provider has to be configured with a special
option.
In Tibco you have to add the following line to queues.conf: >
sender_name_enforced. This means that tibco should add the authenticated user
name in the jms property JMS_TIBCO_SENDER to every message in every queue.
In ActiveMq I have found from the documentation that you can use the option
populateJMSXUserID. Then ActiveMQ sets the property JMSXUserID.
>From these configuations we see that the username can be in different
>properties depending on the jms server. So we have to add a configuation
>option to tell servicemix how to retrieve the username from the message.
The documentation should help with configuring the jms server. Perhaps we can
find the necessary settings for other jms servers too like IBM MQ.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira