You can use the Jython or Jacl scripting languages to configure security with the wsadmin tool. The commands and parameters in the TrustManagerCommands group can be used to create, delete, and query trust manager settings in your configuration. You can also use these commands to create a custom trust manager for a pure client. The TrustManagerCommands command group for the AdminTask object includes the following commands:
The deleteTrustManager command deletes the trust manager settings from the configuration.
Target object
None
Parameters and return values
Examples
Batch mode example usage:
$AdminTask deleteTrustManager {-name testTM}
AdminTask.deleteTrustManager ('[-name testTM]')
AdminTask.deleteTrustManager (['-name', 'testTM'])
Interactive mode example usage:
$AdminTask deleteTrustManager {-interactive}
AdminTask.deleteTrustManager ('[-interactive]')
AdminTask.deleteTrustManager (['-interactive'])
The getTrustManager command obtains the setting of a trust manager.
Target object
None
Parameters and return values
Examples
Batch mode example usage:
$AdminTask getTrustManager {-name testTM}
AdminTask.getTrustManager ('[-name testTM]')
AdminTask.getTrustManager (['-name', 'testTM'])
Interactive mode example usage:
$AdminTask getTrustManager {-interactive}
AdminTask.getTrustManager ('[-interactive]')
AdminTask.getTrustManager (['-interactive'])
The listTrustManagers command lists the trust managers within a particular management scope.
Target object
None
Parameters and return values
Examples
Batch mode example usage:
$AdminTask listTrustManagers {-displayObjectName true}
AdminTask.listTrustManagers ('[-displayObjectName true]')
AdminTask.listTrustManagers (['-displayObjectName', 'true'])
Interactive mode example usage:
$AdminTask listTrustManagers {-interactive}
AdminTask.listTrustManagers ('[-interactive]')
AdminTask.listTrustManagers (['-interactive'])
The modifyTrustManager command changes existing trust manager settings.
Target object
None
Parameters and return values
Examples
Batch mode example usage:
$AdminTask modifyTrustManager {-name testTM -trustManagerClass test.trust.manager}
AdminTask.modifyTrustManager ('[-name testTM -trustManagerClass test.trust.manager]')
AdminTask.modifyTrustManager (['-name', 'testTM', '-trustManagerClass', 'test.trust.manager'])
Interactive mode example usage:
$AdminTask modifyTrustManager {-interactive}
AdminTask.modifyTrustManager ('[-interactive]')
AdminTask.modifyTrustManager (['-interactive'])