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.

如果要執行這個指令,請使用 wsadmin Scripting 用戶端AdminTask 物件

[IBM i][IBM i]wsadmin Scripting 用戶端是從 Qshell 執行. [IBM i]如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.

服務整合匯流排指令有指令行說明:
  • 如需 Jython 中可用的服務整合匯流排安全指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:

    print AdminTask.help('SIBAdminBusSecurityCommands')

  • 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:

    print AdminTask.help('command_name')

使用指令之後,請利用下列指令,儲存對主要配置所做的變更:

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.


指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 11:12
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rjr_dest_default_inher_define
檔名:rjr_dest_default_inher_define.html