Sun Java System Web Server 7.0 Administrator's Guide

Configuring SOAP Authentication Providers

Java Authentication Service Provider Interface for Containers specification defines a standard service provider interface by which authentication mechanism providers may be integrated with containers. You can use the Administration Console to add a new SOAP authentication provider.

ProcedureTo Add a SOAP Authentication Provider

  1. Select the configuration.

    Select the configuration from the configuration list. Click Configurations tab to get the list.

  2. Click on Java > Web Services tab.

  3. Click on New button under SOAP Authentication Provider section.

SOAP Authentication Provider Parameters

The following table describes the parameters available on the new SOAP authentication provider page.

Table 11–6 SOAP Authentication Provider Parameters

Parameter

Description

Name

Enter a short name for the new SOAP authentication provider. 

Class Name

The class that implements the provider. Fully qualified class name of a class that implements javax.security.auth.XXX

Request Authentication Source

This attribute defines a requirement for message layer sender authentication such as username/password or content authentication such as digital signature to be applied to request messages. The value (auth-policy) may be sender or content. When this argument is not specified, source authentication of the request is not required. 

Request Authentication Recipient

This attribute defines a requirement for message layer authentication of the receiver of a message to its sender, for example, by XML encryption. The values can be before-content or after-content. 

Response Authentication Source

This attribute defines a requirement for message layer sender authentication such as username/password or content authentication such as digital signature to be applied to response messages. The value (auth-policy) may be sender or content. When this argument is not specified, source authentication of the response is not required 

Response Authentication Recipient

This attribute defines a requirement for message layer authentication of the receiver of the response message to its sender, for example, by XML encryption. 

Properties

Provide other CLI properties by clicking Add Property button. 


Note –

Using CLI

For adding a SOAP authentication provider using CLI, execute the following command.


wadm> create-soap-auth-provider --user=admin --password-file=admin.pwd 
--host=serverhost --port=8989 --config=config1 
--class-name=javax.security.auth.soapauthprovider soap-auth

See CLI Reference, create-soap-auth-provider(1).