Provider
Use the Jython or Jacl scripting languages to configure mail settings with the wsadmin tool. The commands in the provider group can be used to create, delete, and manage providers.
The Providercommands include:
deleteProvider
Delete 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}
- Jython string:
AdminTask.deleteProvider ('[-interactive]')
- Jython list:
AdminTask.deleteProvider (['-interactive'])
getProviderInfo
Return 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}
- Jython string:
AdminTask.getProviderInfo ('[-interactive]')
- Jython list:
AdminTask.getProviderInfo (['-interactive'])
getProviderInstance
Return 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}
- Jython string:
AdminTask.getProviderInstance ('[-interactive]')
- Jython list:
AdminTask.getProviderInstance (['-interactive'])
getProviders
Return 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}
- Jython string:
AdminTask.getProviders ('[-interactive]')
- Jython list:
AdminTask.getProviders (['-interactive'])
wsadmin AdminTask Commands for the AdminTask object