You can use the Jython or Jacl scripting languages to configure security with the wsadmin tool. Inbound and outbound management scopes represent opposing directions during the connection handshake process. The commands and parameters in the ManagementScopeCommands group can be used to create, delete, and list management scopes. The ManagementScopeCommands command group for the AdminTask object includes the following commands:
The deleteManagementScope command deletes a management object from the configuration.
Target object
None
Parameters and return values
Examples
Batch mode example usage:
$AdminTask deleteManagementScope {-scopeName (cell):localhostNode01Cell}
AdminTask.deleteManagementScope ('[-scopeName (cell):localhostNode01Cell]')
AdminTask.deleteManagementScope (['-scopeName', '(cell):localhostNode01Cell'])
Interactive mode example usage:
$AdminTask deleteManagementScope {-interactive}
AdminTask.deleteManagementScope ('[-interactive]')
AdminTask.deleteManagementScope (['-interactive'])
The getManagementScope command displays the setting of a management scope object.
Target object
None
Parameters and return values
Examples
Batch mode example usage:
$AdminTask getManagementScope {-scopeName (cell):localhostNode01Cell}
AdminTask.getManagementScope ('[-scopeName (cell):localhostNode01Cell]')
AdminTask.getManagementScope (['-scopeName', '(cell):localhostNode01Cell'])
Interactive mode example usage:
$AdminTask getManagementScope {-interactive}
AdminTask.getManagementScope ('[-interactive]')
AdminTask.getManagementScope (['-interactive'])
The listManagementScopes command lists the management scopes in the configuration.
Target object
None
Parameters and return values
Examples
Batch mode example usage:
$AdminTask listManagementScopes { -name testKM -provider IBMJSSE2 -algorithm IbmX509}
AdminTask.listManagementScopes ('[-name testKM -provider IBMJSSE2 -algorithm IbmX509]')
AdminTask.listManagementScopes (['-name', 'testKM', '-provider', 'IBMJSSE2', '-algorithm', 'IbmX509'])
Interactive mode example usage:
$AdminTask listManagementScopes {-interactive}
AdminTask.listManagementScopes ('[-interactive]')
AdminTask.listManagementScopes (['-interactive'])