Developing SAML applications
Use the SAML library application programming interface (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).
About this task
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 application programming interface (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 application programming interfaces (APIs) provide methods you can use to create, validate, parse, and extract SAML tokens.Creating a SAML bearer token using the API
Use the SAML library API to create a SAML bearer token.Creating a SAML holder-of-key token using the API
The SAML holder-of-key token extends the security token public interface in WebSphere® Application Server, and can be used as a protection token. WebSphere Application Server provides a SAML library API for SAML holder-of-key token creation.Creating 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.Passing SAML tokens between JAAS login modules
The SAMLGenerateLoginModule can be used to obtain an application generated SAML token from a shared state object that is intialized in the application's JAAS login module. Additionally, the GenericIssuedTokenGenerateLoginModule can also be used to obtain an application generated SAML token from the shared state. For more information, read the Generating and consuming SAML tokens using stacked JAAS login modules topic.Adding attributes to self-issued SAML tokens using the API
The SAML library API can be used to create a self-issued SAML token that has custom attributes.Creating SAML attributes in SAML tokens
Using the SAML runtime API, you can create SAML tokens containing SAML attributes. You can also extract the SAML attributes from an existing SAML token.Adding attributes and re-signing existing SAML tokens by using the API
The SAML library API can be used to add attributes to or delete attributes from a SAML token that is not encrypted, then sign, or re-sign the SAML token. Whenever any actions are made to modify the SAML token object, if a digital signature already exists on the object, the existing digital signature is removed.Customizing the NameID for self-issued SAML tokens using the API
The SAML library API can be used to create a SAML token that has a custom NameID.WS-Trust client API
The WS-Trust client application programming interface (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 application programming interfaces (APIs) provide methods you can use to create, validate, parse, and extract SAML tokens.Creating a SAML bearer token using the API
Use the SAML library API to create a SAML bearer token.Creating a SAML holder-of-key token using the API
The SAML holder-of-key token extends the security token public interface in WebSphere Application Server, and can be used as a protection token. WebSphere Application Server provides a SAML library API for SAML holder-of-key token creation.Creating 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.


http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twbs_developsamlapps
檔名:twbs_developsamlapps.html