Jython または Jacl スクリプト言語を使用すると、wsadmin ツールでセキュリティーを構成することができます。インバウンドおよびアウトバウンド管理有効範囲は、接続ハンドシェーク・プロセス時の反対の方向を表します。 ManagementScopeCommands グループのコマンドおよびパラメーターは、 管理有効範囲の作成、削除、およびリストに使用できます。
deleteManagementScope は、 管理オブジェクトを構成から削除するコマンドです。
ターゲット・オブジェクト
なし
パラメーターおよび戻り値
例
バッチ・モードの使用例:
$AdminTask deleteManagementScope {-scopeName (cell):localhostNode01Cell}
AdminTask.deleteManagementScope ('[-scopeName (cell):localhostNode01Cell]')
AdminTask.deleteManagementScope (['-scopeName', '(cell):localhostNode01Cell'])
対話モードの使用例:
$AdminTask deleteManagementScope {-interactive}
AdminTask.deleteManagementScope ('[-interactive]')
AdminTask.deleteManagementScope (['-interactive'])
getManagementScope は、 管理有効範囲オブジェクトの設定を表示するコマンドです。
ターゲット・オブジェクト
なし
パラメーターおよび戻り値
例
バッチ・モードの使用例:
$AdminTask getManagementScope {-scopeName (cell):localhostNode01Cell}
AdminTask.getManagementScope ('[-scopeName (cell):localhostNode01Cell]')
AdminTask.getManagementScope (['-scopeName', '(cell):localhostNode01Cell'])
対話モードの使用例:
$AdminTask getManagementScope {-interactive}
AdminTask.getManagementScope ('[-interactive]')
AdminTask.getManagementScope (['-interactive'])
listManagementScopes は、 構成内の管理有効範囲をリストするコマンドです。
ターゲット・オブジェクト
なし
パラメーターおよび戻り値
例
バッチ・モードの使用例:
$AdminTask listManagementScopes { -name testKM -provider IBMJSSE2 -algorithm IbmX509}
AdminTask.listManagementScopes ('[-name testKM -provider IBMJSSE2 -algorithm IbmX509]')
AdminTask.listManagementScopes (['-name', 'testKM', '-provider', 'IBMJSSE2', '-algorithm', 'IbmX509'])
対話モードの使用例:
$AdminTask listManagementScopes {-interactive}
AdminTask.listManagementScopes ('[-interactive]')
AdminTask.listManagementScopes (['-interactive'])