Use these commands in wsadmin to give users and groups permission
to connect to a local bus.
Why and when to perform this task
Users must be authorized to connect to a bus. To give a user or group
permission to connect to a local bus, you must add them to the Connector role
for the appropriate local bus, which will allow them to access local destinations,
or send messages to destinations on foreign buses.
- Adding a user
- To add a user to a bus Connector role, use the following command in wsadmin:
$AdminTask addUserToBusConnectorRole {-bus busName -user userName}
- Adding a group
- To add a group to a bus Connector role, use the following command in wsadmin:
$AdminTask addGroupToBusConnectorRole {-bus busName -group groupName}
After using these commands, save your changes to the master
configuration; for example, by using the following command in wsadmin:
$AdminConfig save