JMS over MQSeries -- Security Questions

Hi.
I am new to JMS and would like to have JMS over MQSeries. When a message is sent in request/reply, MQSeries currently attaches a header to the message including information such as userID and information regarding the application that sent the message.
My Questions:
1. Does JMS provide an API call to retrieve the MQ Header information -- specifically the user id and password if any? Or does the JMS header hide/override the MQ header?
2. Does JMS provide an encryption mechanism to encrypt the message body?
3. What is in the JMS header -- additional security information?
Lastly, can we send binary data using JMS over MQSeries?
Thanks again for the help.
--Selena                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

1. Does JMS provide an API call to retrieve the MQ
Header information -- specifically the user id and
password if any? Or does the JMS header hide/override
the MQ header?There is a property defined by JMS called JMSXUserID which will give you the user id. MQSeries does not transmit the password of the user, this would probably be a security violation. If there is a JMS property which is matched in the MQ Message header the property is held there. There are some IBM specific properties to get at other information in the MQ Message header but these should not be used.
2. Does JMS provide an encryption mechanism to encrypt
the message body?JMS doesn't and neither does MQSeries, as far as I am aware. If you wish to encrypt then you can define a security exit on the queue when you bind it into JNDI, but this is an MQSeries feature not a JMS one.
3. What is in the JMS header -- additional security
information?Look in the MQSeries Information Center. There is lots of information on what is in the headers and how to access it.
>
Lastly, can we send binary data using JMS over
MQSeries?Just use a bytes message.
Hope this helps

Similar Messages

Maybe you are looking for

  • Cant open EMC or EMS for exchange 2010 from local machine

    hi im having problem with Exchange 2010. After instalation everything was working fine but second day  when i try to open EMC im getting following error: Initialization failed The following error occured when searching for on-premises exchange server

  • Ipad mini stuck on child mode

    ipad mini stuck on child mode.  won't scroll. 

  • I cannot select to switch on wifi

    when i go to switch on wifi, i cannot select the swipe bar to "on". it is all shadded grey. restored the phone but still same.

  • Get menu selection help

    Hi I am new to the Labview world and am having a bit of an issue with the get menu selection vi.  I opened an example (Queued Message Handler.vi) and basically copied that get menu selection setup in my vi.  Yet all i get for menu selections are null

  • Cisco 5760 WLC initial config

    Hi, I am configuring up a Cisco 5760 WLC and wondering if it is required to put in a default route? In this document it says to put one in but i dont see why it is needed as it is connected to a switch via a layer 2 Trunk. Reference: https://supportf