Adding users and groups to bus connector roles using the wsadmin tool

Users must be authorized to connect to a service integration bus. To give a user or group permission to connect to a local bus, use these commands to add them to the connector role for the appropriate local bus. This allows them to access local destinations, or send messages to destinations on foreign buses.

To run these commands, use the AdminTask object of the wsadmin scripting client. Each command acts on multiple objects in one operation. The commands are provided to allow you to make the most commonly-required types of update in a consistent manner, where modifying the underlying objects directly would be error-prone.

The wsadmin scripting client is run from Qshell. For more information, see the topic "Configure Qshell to run WebSphere® Application Server scripts".

These commands are only valid when used with WebSphere Application Server Version 6 and later application servers. Do not use them with earlier versions.

Command-line help is provided for service integration bus commands:

Commands

Adding a user
To add a user to a bus connector role, use the following command:
$AdminTask addUserToBusConnectorRole {-bus busName  -user userName}
Adding a group
To add a group to a bus connector role, use the following command:
$AdminTask addGroupToBusConnectorRole {-bus busName  -group groupName}
Server
To allow servers to connect to the bus, use the following command:
$AdminTask addGroupToBusConnectorRole {-bus busName  -group Server}
All Authenticated
To allow all authenticated users to connect to the bus, use the following command:
$AdminTask addGroupToBusConnectorRole {-bus busName  -group AllAuthenticated}
Everyone
To allow unauthenticated users to connect to the bus, use the following command:
$AdminTask addGroupToBusConnectorRole {-bus busName  -group Everyone}
After using these commands, save your changes to the master configuration; for example, by using the following command:
 $AdminConfig save



Related tasks
Configuring users and groups in the bus connector role
Configuring users and groups in the bus connector role through the command line
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 6:03:36 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-iseries&topic=rjr_auth_perm_add
File name: rjr_auth_perm_add.html