Defining destination defaults inheritance by 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 you 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 Configuring Qshell to run WebSphere scripts using wsadmin scripting.
- 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')
AdminConfig.save()
Command
To override or restore the inheritance of default permissions for a destination, use the following command:
- Using Jython:
AdminTask.setInheritDefaultsForDestination("-type destinationType -bus busName -destination destinationName -inherit <true|false>")
- Using 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.