WAS v8.5 > Reference > Commands (wsadmin scripting)DescriptivePropCommands command group for AdminTask
We can use the Jython or Jacl scripting languages to configure security with wsadmin. The commands and parameters in the DescriptivePropCommands group can be used to create, delete, and manage key manager setting in your configuration.
The DescriptivePropCommands command group for AdminTask includes the following commands:
deleteDescriptiveProp
The deleteDescriptiveProp command deletes key manager settings from the configuration.
Target object
None
Parameters and return values
- -parentDataType
- (String, required)
- -parentClassName
- (String, required)
- -parentScopeName
- (String, optional)
- -name
- (String, required)
Examples
Interactive mode example usage:
Jacl:
$AdminTask deleteDescriptiveProp {-interactive}
Jython string:
AdminTask.deleteDescriptiveProp ('[-interactive]')
Jython list:
AdminTask.deleteDescriptiveProp (['-interactive'])
getDescriptiveProp
The getDescriptiveProp command obtains information about key manager settings.
Target object
None
Parameters and return values
- -parentDataType
- (String, required)
- -parentClassName
- (String, required)
- -parentScopeName
- (String, optional)
- -name
- (String, required)
Examples
Interactive mode example usage:
Jacl:
$AdminTask getDescriptiveProp {-interactive}
Jython string:
AdminTask.getDescriptiveProp ('[-interactive]')
Jython list:
AdminTask.getDescriptiveProp (['-interactive'])
listDescriptiveProp
The listDescriptiveProp command lists the key managers within a particular management scope.
Target object
None
Parameters and return values
- -parentDataType
- (String, required)
- -parentClassName
- (String, required)
- -parentScopeName
- (String, optional)
- -displayObjectName
- Set Set true to to list the key manager objects within the scope. Set the value of this parameter to false to list the strings containing the key manager name and management scope. (Boolean, optional)
Examples
Interactive mode example usage:
Jacl:
$AdminTask listDescriptiveProp {-interactive}
Jython string:
AdminTask.listDescriptiveProp ('[-interactive]')
Jython list:
AdminTask.listDescriptiveProp (['-interactive'])
modifyDescriptiveProp
The modifyDescriptiveProp command modifies the settings of an existing key manager.
Target object
None
Parameters and return values
- -parentDataType
- (String, required)
- -parentClassName
- (String, required)
- -parentScopeName
- (String, optional)
- -name
- (String, required)
- -value
- (String, optional)
- -type
- (String, optional)
- -displayNameKey
- (String, optional)
- -nlsRangeKey
- (String, optional)
- -hoverHelpKey
- (String, optional)
- -range
- (String, optional)
- -inclusive
- (Boolean, optional)
- -firstClass
- (Boolean, optional)
Examples
Interactive mode example usage:
Jacl:
$AdminTask modifyDescriptiveProp {-interactive}
Jython string:
AdminTask.modifyDescriptiveProp ('[-interactive]')
Jython list:
AdminTask.modifyDescriptiveProp (['-interactive'])
Related
Use the wsadmin scripting AdminTask object for scripted administration
Reference:
Commands for AdminTask using wsadmin.sh