Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
Define topic role inheritance by using wsadmin
Use these commands to define the inheritance of topic roles by child topics within a topic hierarchy.
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.
Command-line help is provided for service integration bus commands:
- For a list of the available service integration bus security commands in Jython and a brief description of each command, run at the wsadmin prompt:
print AdminTask.help('SIBAdminBusSecurityCommands')
- For overview help on a given command, run at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save changes to the master configuration; for example, by using the following command:
AdminConfig.save()
Commands
Define Sender role inheritance
To set or disable Sender role inheritance for a topic within the specified topic space, use the following command:
### Jython
AdminTask.setInheritSenderForTopic("-bus busName -topicSpace topicSpaceName -topic topicName -inherit <true|false>")### Jacl
$AdminTask setInheritSenderForTopic {-bus busName -topicSpace topicSpaceName -topic topicName -inherit <true|false>}
Define Receiver role inheritance
To set or disable Receiver role inheritance for a topic within the specified topic space, use the following command:
### Jython
AdminTask.setInheritReceiverForTopic("-bus busName -topicSpace topicSpaceName -topic topicName -inherit <true|false>")### Jacl
$AdminTask setInheritReceiverForTopic {-bus busName -topicSpace topicSpaceName -topic topicName -inherit <true|false>}
Messaging security
Topic security
Topic [Settings]