delete-message-security-provider [--help] [--target target] --layer message_layer provider_name
The delete-message-security-provider subcommand enables administrators to delete a message security provider.
In terms of what happens when this subcommand is run, the provider-config sub-element for the given message layer (message-security-config element of domain.xml is deleted. The domain.xmlfile specifies parameters and properties to the GlassFish Server). The options specified in the list below apply to attributes within the message-security-config and provider-config sub-elements of the domain.xml file.
If the message-layer (message-security-config attribute) does not exist, it is created, and then the provider-config is created under it.
This command is supported in remote mode only.
If an option has a short option name, then the short option precedes the long option name. Short options have one dash whereas long options have two dashes.
Displays the help text for the subcommand.
Do not specify this option. This option is retained for compatibility with other releases. If you specify this option, a syntax error does not occur. Instead, the subcommand runs successfully and the option is silently ignored.
The message-layer from which the provider has to be deleted. The default value is HttpServlet.
The following example shows how to delete a message security provider for a client.
asadmin> delete-message-security-provider --layer SOAP mySecurityProvider