ManagementScopeCommands command group for the AdminTask object
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:
deleteManagementScope
The deleteManagementScope command deletes a management object from the configuration.
Target object
None
Parameters and return values
- - scopeName
- The name that uniquely identifies the management scope. (String, required)
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask deleteManagementScope {-scopeName (cell):localhostNode01Cell}
- Use Jython string:
AdminTask.deleteManagementScope ('[-scopeName (cell):localhostNode01Cell]')
- Use Jython list:
AdminTask.deleteManagementScope (['-scopeName', '(cell):localhostNode01Cell'])
Interactive mode example usage:
- Use Jacl:
$AdminTask deleteManagementScope {-interactive}
- Use Jython string:
AdminTask.deleteManagementScope ('[-interactive]')
- Use Jython list:
AdminTask.deleteManagementScope (['-interactive'])
getManagementScope
The getManagementScope command displays the setting of a management scope object.
Target object
None
Parameters and return values
- - scopeName
- The name that uniquely identifies the management scope. (String, required)
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask getManagementScope {-scopeName (cell):localhostNode01Cell}
- Use Jython string:
AdminTask.getManagementScope ('[-scopeName (cell):localhostNode01Cell]')
- Use Jython list:
AdminTask.getManagementScope (['-scopeName', '(cell):localhostNode01Cell'])
Interactive mode example usage:
- Use Jacl:
$AdminTask getManagementScope {-interactive}
- Use Jython string:
AdminTask.getManagementScope ('[-interactive]')
- Use Jython list:
AdminTask.getManagementScope (['-interactive'])
listManagementScopes
The listManagementScopes command lists the management scopes in the configuration.
Target object
None
Parameters and return values
- - displayObjectName
- Set the value to true to display the object names of the management scope. (Boolean, optional)
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask listManagementScopes { -name testKM -provider IBMJSSE2 -algorithm IbmX509}
- Use Jython string:
AdminTask.listManagementScopes ('[-name testKM -provider IBMJSSE2 -algorithm IbmX509]')
- Use Jython list:
AdminTask.listManagementScopes (['-name', 'testKM', '-provider', 'IBMJSSE2', '-algorithm', 'IbmX509'])
Interactive mode example usage:
- Use Jacl:
$AdminTask listManagementScopes {-interactive}
- Use Jython string:
AdminTask.listManagementScopes ('[-interactive]')
- Use Jython list:
AdminTask.listManagementScopes (['-interactive'])
Related tasks
Use the AdminTask object for scripted administration
Related Reference
Commands for the AdminTask object
Reference topic