When you include JMS nodes in your
message flow, you can optionally secure JMS connection resources.
You can secure one, both, or neither of these options, depending on
the level of security and access that you want to enforce.
- To secure a JMS connection:
- Specify the Connection
Factory Name property on the node. You must set this
property for every node using JMS transport.
- Use the mqsisetdbparms command
to authorize the user ID and password for the specified connection
factory. For example:
mqsisetdbparms MyBroker1 -n jms::tcf1 -u myuserid -p secret
where tcf1 is
the name of the connection factory that matches the node property
that you set.
- To secure JNDI bindings lookups:
- Specify the Initial Context
Factory property on the node. You must set this property
for every node using JMS transport.
- Use the mqsisetdbparms command
to authorize the user ID and password for the specified context factory. For example:
mqsisetdbparms MyBroker1 -n jndi::com.sun.jndi.fscontext.RefFSContextFactory
-u myuserid -p secret
where com.sun.jndi.fscontext.RefFSContextFactory is
the name of the initial context factory that you set.