Products | Versions |
---|---|
TIBCO ActiveMatrix Adapter for Websphere MQ | - |
Not Applicable | - |
Resolution:
Description:
====================
This is for configuring the permission for the client (TIBCO ActiveMatrix(R) Adapter for WebSphere MQ) user to access to Queue Manager or queue.
Environment:
====================
TIBCO ActiveMatrix(R) Adapter for WebSphere MQ 5.x, 6.x
Resolution:
=========
1). On the MQ server machine check if the particular user or user group has the proper permission to connect to Queue Manager by using the command below:
dspmqaut -m <Target Queue Manager Name> -t qmgr -p <Username>
For example: dspmqaut -m QManager -t qmgr -p bsong
dspmqaut -m <Target Queue Manager Name> -t qmgr -g <User group name>
For example: dspmqaut -m QManager -t qmgr -g mqtest
2). Assign permissions for a particular user or user group to connect to Queue Manager by using the following command:
setmqaut -m <Target Queue Manager Name> -t qmgr -p <Username> +<specific permission>
For example: setmqaut -m QManager -t qmgr -p bsong +all
setmqaut -m <Target Queue Manager Name> -t qmgr -g <User group name> +<specific permission>
For example: setmqaut -m QManager -t qmgr -g mqtest +all
3). Assign permissions for a particular user or user group to access a Queue by using the following command:
setmqaut -m <Target Queue Manager Name> -n <Queue Name> -t q -p <Username> +<specific permission>
For example: setmqaut -m qmgr1 -n q1 -t q -p user1 +all
setmqaut -m <Target Queue Manager Name> -n <Queue Name> -t q -g <User group name> +<specific permission>
For example: setmqaut -m qmgr1 -n q1 -t q -g group1 +all
References:
==========
For information on how to use commands dspmqaut and setmqaut refer to the following MQ document:
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp