+

Search Tips   |   Advanced Search

WS-Security service provider programming interfaces


Several Service Provider Interfaces (SPIs) are provided to extend the capability of the WS-Security runtime.

There is an important distinction between Version 5.x and V6 and later applications. The information in this article supports V5.x applications only that are used with WAS V6.0.x and later. The information does not apply to V 6.0.x and later applications.

The following list contains the SPIs that are available for WAS:

 

 

Next steps

The JAAS LoginModule API is used for token validation on the request receiver side of the message. We can implement a custom LoginModule API to perform validation of the custom token on the request receiver of the message. After the token is verified and validated, the token is set as the caller and then run as the identity in the WAS runtime. The identity is used for authorization checks by the containers before a Java EE resource is invoked.

The following list presents the default AuthMethod configurations provided by WAS:

BasicAuth

Validates a user name token.

Signature

Maps the distinguished name (DN) of a verified certificate to a Java Authentication and Authorization Service (JAAS) subject.

IDAssertion

Maps a trusted identity to a JAAS subject.

LTPA

Validates an LTPA token that is received in the message and creates a JAAS subject.

 

Related concepts


Lightweight Third Party Authentication
WS-Security model in WAS
Login mappings

 

Related tasks


Secure Web services for V5.x applications using XML digital signature

 

Related


WS-Security support