Configuring user permissions for TIBCO ActiveMatrix(R) Adapter for WebSphere MQ to access WebSphere MQ.

Configuring user permissions for TIBCO ActiveMatrix(R) Adapter for WebSphere MQ to access WebSphere MQ.

book

Article ID: KB0089944

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Adapter for Websphere MQ -
Not Applicable -

Description

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 &ltTarget Queue Manager Name> -t qmgr -p &ltUsername>

For example: dspmqaut -m QManager -t qmgr -p bsong
dspmqaut -m &ltTarget Queue Manager Name> -t qmgr -g &ltUser 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 &ltTarget Queue Manager Name> -t qmgr -p &ltUsername> +&ltspecific permission>

For example: setmqaut -m QManager -t qmgr -p bsong +all
setmqaut -m &ltTarget Queue Manager Name> -t qmgr -g &ltUser group name> +&ltspecific 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 &ltTarget Queue Manager Name> -n &ltQueue Name> -t q -p &ltUsername> +&ltspecific permission>

For example: setmqaut -m qmgr1 -n q1 -t q -p user1 +all
setmqaut -m &ltTarget Queue Manager Name> -n &ltQueue Name> -t q -g &ltUser group name> +&ltspecific 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

Issue/Introduction

Configuring user permissions for TIBCO ActiveMatrix(R) Adapter for WebSphere MQ to access WebSphere MQ.