Define destination defaults inheritance
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.
(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) 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 at the wsadmin prompt:
print AdminTask.help('SIBAdminBusSecurityCommands')
- For overview help on a given command, enter 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:
- Use Jython:
AdminTask.setInheritDefaultsForDestination("-type destinationType -bus busName -destination destinationName -inherit <true|false>")- Use 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.