Provider
Use the Jython or Jacl scripting languages to configure mail settings with wsadmin. The commands and parameters in the provider group can be used to create, delete, and manage providers.
The Provider includes the following commands:
deleteProvider
The deleteProvider command deletes a provider from the model given the providerName.
Target object
None
Parameters and return values
- Parameters: None
- Returns: true if the provider was deleted, false if not.
Examples
Interactive mode example usage:
- Jacl...
$AdminTask deleteProvider {-interactive}- Use Jython string:
AdminTask.deleteProvider ('[-interactive]')- Use Jython list:
AdminTask.deleteProvider (['-interactive'])
getProviderInfo
The getProviderInfo command returns a ProviderInfo object defined in the model given the providerName.
Target object
None
Parameters and return values
- Parameters: None
- Returns: A ProviderInfo object defined in the model given the providerName.
Examples
Interactive mode example usage:
- Jacl...
$AdminTask getProviderInfo {-interactive}- Use Jython string:
AdminTask.getProviderInfo ('[-interactive]')- Use Jython list:
AdminTask.getProviderInfo (['-interactive'])
getProviderInstance
The getProviderInstance command returns a java.security.Provider for the providerName specified.
Target object
None
Parameters and return values
- Parameters: None
- Returns: A java.security.Provider for the providerName specified.
Examples
Interactive mode example usage:
- Jacl...
$AdminTask getProviderInstance {-interactive}- Use Jython string:
AdminTask.getProviderInstance ('[-interactive]')- Use Jython list:
AdminTask.getProviderInstance (['-interactive'])
getProviders
The getProviders command returns a List of ProviderInfo objects from the model.
Target object
None
Parameters and return values
- Parameters: None
- Returns: A list of ProviderInfo objects from the model.
Examples
Interactive mode example usage:
- Jacl...
$AdminTask getProviders {-interactive}- Use Jython string:
AdminTask.getProviders ('[-interactive]')- Use Jython list:
AdminTask.getProviders (['-interactive'])
Related tasks
Use AdminTask for scripted administration
Related
Commands for AdminTask