When you first install the Application Server, the providers XWS_ClientProvider and XWS_ServerProvider are configured but disabled. You can enable them in one of the following ways:
To enable the message security providers using the Admin Console, open the Security component under the relevant configuration, select the Message Security component, and select SOAP. Then select XWS_ServerProvider from the Default Provider list and XWS_ClientProvider from the Default Client Provider list. For details, click the Help button in the Admin Console.
You can enable the message security providers using the following commands.
asadmin set --user adminuser server-config.security-service.message-security-config.SOAP.default_provider=XWS_ServerProvider asadmin set --user adminuser server-config.security-service.message-security-config.SOAP.default_client_provider=XWS_ClientProvider |
For more information about the asadmin set command, see the Sun Java System Application Server Platform Edition 9 Reference Manual.
The example described in Understanding and Running the Sample Application uses the ClientProvider and ServerProvider providers, which are enabled when the asant targets are run. You don’t need to enable these on the Application Server prior to running the example.
For information about configuring these providers in the Application Server, see Chapter 9, Configuring Message Security, in Sun Java System Application Server Platform Edition 9 Administration Guide. For additional information about overriding provider settings, see Application-Specific Message Protection.
You can create new message security providers in one of the following ways:
To create a message security provider using the Admin Console, open the Security component under the relevant configuration, and select the Message Security component. For details, click the Help button in the Admin Console.
You can use the asadmin create-message-security-provider command to create a message security provider. For details, see the Sun Java System Application Server Platform Edition 9 Reference Manual.
In addition, you can set a few optional provider properties. For more information, see the property descriptions under provider-config in Sun Java System Application Server Platform Edition 9 Administration Reference.