Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide

- Previous: To configure a message security provider
- Next: To delete a message security configuration

## Creating a Message Security Provider

To configure an existing provider, follow the steps in To configure a message security provider.

1. In the Admin Console tree component, expand the Configuration node.

2. Expand the Security node.

3. Expand the Message Security node.

4. Select the SOAP node.

5. Select the Providers tab.

6. On the Provider Configuration page, click New.

7. In the Provider Config section of the Create a Provider Configuration page, enter the following:

   - Default Provider – Check the box beside this field to make the new message security provider the provider to be invoked for any application for which a specific provider has not been bound. Whether the provider becomes the default client provider, the default server provider, or both will be based on the value selected for Provider Type.

   - Provider Type – Select `client`, `server`, or `client-server` to establish whether the provider is to be used as a client authentication provider, a server authentication provider, or both (a client-server provider).

   - Provider ID - Enter an identifier for this provider configuration. This name will appear in the Current Provider Configurations list.

   - Class Name - Enter the Java implementation class of the provider. Client authentication providers must implement the `com.sun.enterprise.security.jauth.ClientAuthModule` interface. Server-side providers must implement the `com.sun.enterprise.security.jauth.ServerAuthModule` interface. A provider may implement both interfaces, but it must implement the interface corresponding to its provider type.

8. In the Request Policy section of the Create a Provider Configuration page, enter the following optional values, if needed.

   These properties are optional, but if not specified, no authentication is applied to request messages.

   - Authentication Source – Select `sender`, `content`, or null (the blank option) to define a requirement for message-layer sender authentication (for example, username password), content authentication (for example, digital signature), or no authentication be applied to request messages. When null is specified, source authentication of the request is not required.

   - Authentication Recipient – Select `beforeContent` or `afterContent` to define a requirement for message-layer authentication of the receiver of the request message to its sender (by XML encryption). When the value is not specified it defaults to `afterContent`.

   For a description of the actions performed by the SOAP message security providers as a result of the following message protection policies see Actions of Request and Response Policy Configurations.

9. In the Response Policy section of the Create a Provider Configuration page, enter the following optional properties, if needed.

   These properties are optional, but if not specified, no authentication is applied to response messages.

   - Authentication Source – Select `sender`, `content`, or null (the blank option) to define a requirement for message-layer sender authentication (for example, username password) or content authentication (for example, digital signature) to be applied to response messages. When null is specified, source authentication of the response is not required.

   - Authentication Recipient – Select `beforeContent` or `afterContent` to define a requirement for message-layer authentication of the receiver of the response message to its sender (by XML encryption). When the value is not specified it defaults to `afterContent`.

   For a description of the actions performed by the SOAP message security providers as a result of the following message protection policies see Actions of Request and Response Policy Configurations.

10. Add additional properties by clicking the Add Property button.

    The provider that is shipped with the Application Server supports the property listed below. If other providers are used, refer to their documentation for more information on properties and valid values.

    - `server.config` – The directory and file name of an XML file that contains the server configuration information. For example, domain-dir`/config/wss-server-config.xml`.

11. Click OK to save this configuration, or click Cancel to quit without saving.

##### Equivalent asadmin command

`create-message-security-provider`

##### See Also

- Actions of Request and Response Policy Configurations

- To enable providers for message security

- To configure a message security provider

- Creating a Message Security Provider

- To delete a message security configuration

- To delete a message security provider

- To enable message security for application clients

- Previous: To configure a message security provider
- Next: To delete a message security configuration

- © 2010, Oracle Corporation and/or its affiliates