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.

[IBM i][IBM i]The wsadmin scripting client is run from Qshell. [IBM i]For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.

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 your changes to the master configuration by using the following command:

AdminConfig.save()

Command

Note: When a user or group tries to access a destination for which you have overridden default inheritance, the default permissions are not checked. Only the permissions that you specify for the destination itself are checked.

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.


Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: March 5, 2017 17:54
File name: rjr_dest_default_inher_define.html