The 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.
Click Configurations tab and select the configuration you need.
Click Java > Web Services tab.
Under SOAP Authentication Provider, click New.
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 |
Provides other CLI properties by clicking the Add Property button. |
Using CLI
To add 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).