Define destination defaults inheritance using the wsadmin tool
By default, the inheritance of default permissions by destinations is allowed for all local destinations. Use this command to override inheritance for an individual destination, or to restore default inheritance in cases where we have previously overridden it.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configure Qshell to run WebSphere scripts .
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, enter the following command at the wsadmin prompt:
print AdminTask.help('SIBAdminBusSecurityCommands')
- For overview help on a given command, enter the following command at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save the changes to the master configuration using the following command:
AdminConfig.save()
Command
When a user or group tries to access a destination for which we have overridden default inheritance, the default permissions are not checked. Only the permissions specified for the destination itself are checked.
To override or restore the inheritance of default permissions for a destination, use the following command:
- Jython:
AdminTask.setInheritDefaultsForDestination("-type destinationType -bus busName -destination destinationName -inherit <true|false>")
- Jacl:
$AdminTask setInheritDefaultsForDestination {-type destinationType -bus busName -destination destinationName -inherit <true|false>}
The destinationType must be a local destination type: foreignDestination is not allowed.
Set -inherit to false to override defaults inheritance, or to true to restore defaults inheritance.
Related concepts
Role-based authorization Destination security Bus destinations
Related information:
Destinations access roles [Settings] Foreign bus [Settings] Reference topic