Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop web services - Security (WS-Security) > Develop applications that use Web Services Security > Develop message-level security for JAX-WS web services
Develop SAML applications
Use the SAML library API, the SAMLTokenFactory, to configure token parameters, create a SAML token, and bind the created token to a service request. The SAML trust client API provides helper functions that send WS-Trust SOAP requests to the specified external Security Token Service (STS).
The SAMLTokenFactory API creates SAML tokens through various method signatures. The API also instantiates runtime configuration objects related to the SAML token requester, as well as the recipient.
The WS-Trust Client API for SAML includes the WSSTrustClient class, the WSSTrustClientValidateResult class, and other configuration utility classes.
The following topics provide more information about developing SAML applications using the APIs.
- WS-Trust client API
The WS-Trust client API includes the WSSTrustClient class, the WSSTrustClientValidateResult class, and other configuration utility classes. The WSSTrustClient class provides helper functions that send WS-Trust SOAP requests to the specified external Security Token Service (STS) so that the STS can issue or validate one or more SAML assertions and other types of security tokens.
- SAML token library APIs
The SAML token library API provide methods you can use to create, validate, parse, and extract SAML tokens.
- Create a SAML bearer token using the API
Use the SAML library API to create a SAML bearer token.
- Create a SAML holder-of-key token using the API
The SAML holder-of-key token extends the security token public interface in WAS, and can be used as a protection token. WAS v7.0.0.7 and later provides a SAML library API for SAML holder-of-key token creation.
- Create a SAML sender-vouches token using the API
Use the SAML library API to create a SAML sender-vouches token, which includes the sender-vouches confirmation method. The sender-vouches confirmation method is used when a server needs to propagate the client identity or behavior of the client.
- Propagation of SAML tokens using the API
The SAML propagation function is useful for applications that interact across multiple servers. The propagation feature communicates token information from the originating server downstream to other servers.
- Web services client token cache for SAML
When a SAML token is initially requested, the web services runtime environment automatically caches the SAMLToken. As a result of this automatic client token caching function, subsequent web services requests can use the SAMLToken from the previous request.
Related
WS-Trust client API
SAML token library APIs
Create a SAML bearer token using the API
Create a SAML holder-of-key token using the API
Propagation of SAML tokens using the API
Web services client token cache for SAML