Contents
The HTTP Binding Component provides external connectivity between the JBI environment and external environments. To ensure that transactions are secure, the HTTP Binding Component employs both transport and message security.
This section contains the following topics:
Basic authentication enables you to require credentials, in the form of a username and password, to make a transaction. These credentials are transmitted as plain text. The username and password are encoded as a sequence of base-64 characters before transmission to ensure privacy. So, for example, the user name “Fred” and password “Dinosaur” are combined as “Fred:Dinosaur.” When encoded in base-64, these characters are equivalent to “RnJlZDpEaW5vc2F1cg0K”.
For a Provider web service, a request message from a client contains the user name and password fields in the request header.
For a Consumer web service invoking a web service with basic authentication enabled, the user name and password are appended to the request headers for authentication.
For more information on basic authentication protocol see RFC 1945 (Hypertext Transfer Protocol HTTP/1.0), RFC 2616 (Hypertext Transfer Protocol HTTP/1.1), and RFC 2617 (HTTP Authentication: Basic and Digest Access Authentication).
Basic authentication is supported by specifying a policy in the WSDL. A basic authentication policy can be added to the WSDL either manually or by using the WS-Policy Attachment window accessed from CASA and provided through Tango (WSIT). A basic authentication policy is specified at the root level of the WSDL and a reference to the policy is made in the WSDL Port type section, binding the policy to the endpoint.
To support basic authentication, the HTTP Binding Component defines the following WSDL elements:
Three types of authentication mechanisms are supported for web service consumer endpoints.
A consumer endpoint can be configured to use one of these mechanisms by adding it as a child element to the MustSupportBasicAuthentication element of the endpoints Policy.
The following sections describe these mechanisms in more detail.
To use the WssTokenCompare feature, the Policy element must be present, and specify the username and password that are used for authentication. The username and password extracted from the HTTP Authorization request header are compared with the username and password specified in the Policy's WssUsernameToken10 and WssPassword elements.
The following sample WSDL contains the policy and its reference to use WssTokenCompare. Note that an application variable token is used for the password so that the password is not exposed in the WSDL. The value of the password can be specified in the component's Application Variable property in NetBeans.
<wsdl:service name="echoService">
<wsdl:port name="echoPort" binding="tns:echoBinding">
<soap:address location="http://pponnala-tecra-xp.stc.com:18181/echoService/echoPort"/>
<wsp:PolicyReference URI="#HttpBasicAuthBindingBindingPolicy"/>
</wsdl:port>
</wsdl:service>
<wsp:Policy wsu:Id="HttpBasicAuthBindingBindingPolicy">
<mysp:MustSupportBasicAuthentication on="true">
<mysp:BasicAuthenticationDetail>
<mysp:WssTokenCompare/>
</mysp:BasicAuthenticationDetail>
</mysp:MustSupportBasicAuthentication>
<mysp:UsernameToken mysp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
<wsp:Policy>
<sp:WssUsernameToken10>wilma</sp:WssUsernameToken10>
<sp:WssPassword>${pass_token}</sp:WssPassword>
</wsp:Policy>
</mysp:UsernameToken>
</wsp:Policy>
To use Access Manager to configure access-level authorization, you configure the consuming endpoint to use the Sun Access Manager to authenticate the client's credentials. The HTTP Binding Component SOAP binding integrates seamlessly with Sun Access Manager to authenticate the HTTP client's credentials (the username and password extracted from the HTTP Authorization header) against the user's credentials in the Sun Access Manager database.
To configure the HTTP/SOAP Binding Component to use Access Manager, set the HTTP Binding Component Runtime property Sun Access Manager Configuration Directory value to the directory where the Sun Access Manager's AMConfig.properties file can be found.
To configure the Sun Access Manager Configuration Directory, do the following:
The following sample WSDL contains the policy and its reference to use AccessManager.
<service name="AuthAMService">
<port name="AuthAMPort" binding="tns:AuthAMBinding">
<soap:address location="http://localhost:${HttpDefaultPort}/AuthAMService
/AuthAMPort"/>
<wsp:PolicyReference URI="#HttpAuthorizationBindingAMPolicy"/>
</port>
</service>
<wsp:Policy wsu:Id="HttpAuthorizationBindingAMPolicy">
<mysp:MustSupportBasicAuthentication on="true">
<!-- authenticationType is one of simple, am, or realm -->
<mysp:BasicAuthenticationDetail>
<mysp:AccessManager authorization="true"/>
</mysp:BasicAuthenticationDetail>
</mysp:MustSupportBasicAuthentication>
</wsp:Policy>
For a tutorial demonstrating how to secure communications between a service client and server using the Sun Java System Access Manager, see: http://wiki.open-esb.java.net/Wiki.jsp?page=SecuringCommunicationsInOpenESBWithSunAccessManager
.
The HTTP Binding Component can integrate with GlassFish Application Server, out of the box, to provide authentication of requesting clients by authenticating the client against the credentials in a "realm". To take advantage of this security feature, the HTTP/SOAP Binding Component's consuming endpoint needs to be properly configured in the WSDL.
To configure an HTTP/SOAP endpoint to use Realm security configure the PolicyReference element which belongs in the namespace, http://schemas.xmlsoap.org/ws/2004/09/policy. The PolicyReference identifies the Policy, which also belongs in the namespace, http://schemas.xmlsoap.org/ws/2004/09/policy, that provides the details for configuring Realm security.
This is an example of an endpoint with an associated PolicyReference element.
<port name="SoapBasicAuthPortRealm" binding="tns:SoapBasicAuthRealmBinding"> <soap:address location="http://localhost:12081/SoapBasicAuthService/SoapBasicAuthRealmPort"/> <wsp:PolicyReference URI="#HttpBasicAuthBindingBindingRealmPolicy"/> </port>
The PolicyReference element contains an attribute called URI. The value of the URI consists of a '#' character followed by the name of the policy defined somewhere else in the WSDL. Taking this example further, the example below defines the Policy that the PolicyReference references. In the following example, ignore the UsernameToken. This is used by the "outbound" endpoint for sending the username/password credential when it sends a request. You don't need to have this element for "inbound" (consuming) endpoints, but it's included here to illustrate the bi-directionality of an endpoint.
<wsp:Policy wsu:Id="HttpBasicAuthBindingBindingRealmPolicy">
<mysp:MustSupportBasicAuthentication on="true">
<mysp:BasicAuthenticationDetail>
<mysp:Realm realmName="file" />
</mysp:BasicAuthenticationDetail>
</mysp:MustSupportBasicAuthentication>
<mysp:UsernameToken mysp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
<wsp:Policy>
<sp:WssUsernameToken10>wilma</sp:WssUsernameToken10>
<sp:WssPassword>pebbles</sp:WssPassword>
</wsp:Policy>
</mysp:UsernameToken>
</wsp:Policy>
The PolicyReference and Policy elements are used above simply to ensure that we adhere to the standard for SOAP binding. There are no Tango WS-Policy Attachments involved and the WS-Policy Attachment "runtime" will ignore the child element MustSupportBasicAuthentication which is specific to the HTTP Soap BC. MustSupportBasicAuthentication is in the namespace, http://sun.com/ws/httpbc/security/BasicauthSecurityPolicy.
For example, your GlassFish installation comes with a preconfigured file realm which is essentially a file-based user database. See the https://glassfish.dev.java.net/javaee5/docs/AG/ablnk.html#ablpc
, or for a demonstration of how Realm security is configured for a SOAP endpoint see http://wiki.open-esb.java.net/Wiki.jsp?page=Securing%20Communications%20In%20Open%20ESB%20With%20Glassfish%20Realm%20Security
.
This section discusses the following Security Mechanisms available through Tango, and the server configuration options for each selection. For more information on any of these security mechanisms, see https://wsit-docs.dev.java.net/releases/1.1/ahicu.html
The available security mechanisms are:
| Property | Description | Value |
|---|---|---|
| Authentication Token | Authentication Token: Specifies which supporting token will be used to sign and/or encrypt the specified message parts. Options include Username, X509, SAML, Issued, or None | Username |
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. An algorithm suite specifies actual algorithms and allowed key lengths. A mechanism alternative will define what algorithms are used and how they are used. The value of this attribute is typically referenced by a security binding and is used to specify the algorithms used for all cryptographic operations performed under the security binding. The default value is Basic 128 bit. Some of the algorithm suite settings require that Unlimited StrengthEncryption be configured in the Java Runtime Environment (JRE), particularly the algorithm suites that use 256 bit encryption. For instructions on downloading and configuring unlimited strength encryption, see: http://java.sun.com/products/jce/javase.html or http://java.sun.com/javase/downloads/index_jdk5.jsp#docs | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. The options are: * Strict: Items are added to the security header following the general principle of ?declare before use? * Lax: Items are added to the security header in any order that conforms to WSS: SOAP Message Security. However, WSIT follows Strict even when Lax is selected. * Lax (Timestamp First): The same as Lax, except that the first item in the security header must be a wsse:Timestamp. * Lax (Timestamp Last): The same as for Lax, except that the last item in the security header must be a wsse:Timestamp. | Strict |
| Require Derived Keys | Require Derived Keys: Specifies that a derived key is required. A derived key is a cryptographic key created from a password or other user data. Derived keys allow applications to create session keys as needed, eliminating the need to store a particular key. The use of the same session key (for example, when using Secure Conversation) for repeated message exchanges is sometimes considered a risk. To reduce that risk, enable Require Derived Keys. | Select the checkbox to enable |
| Establish Secure Session (Secure Conversation) | Establish Secure Session: Secure Session enables establishes a shared security context between the consumer and provider when a multiple-message-exchange sequence is first initiated. Subsequent messages use (possibly derived) session keys that increase the overall security while reducing the security processing overhead for each message. When this option and Require Derived Keys are both enabled, a derived key will be used. If not, the original session key will be used. Note on Secure Session and Reliable Message Delivery: Reliable Messaging can be used independently of the security mechanisms; however, when used with a security mechanism, Reliable Messaging requires the use of Secure Session, which will be automatically configured for a security mechanism when Reliable Messaging is selected before the security mechanism is selected. If Secure Session is selected for a security mechanism and the Reliable Messaging option is not selected before the security mechanism is specified, Reliable Messaging will need to be manually selected in order for Secure Session to work. | Select the checkbox to enable. |
| Require Derived Keys for Secure Session | Require Derived Keys for Secure Session: Specifies that a derived key is required for Secure Session. See Require Derived Key above for more information. | Select the checkbox to enable. |
| Require Signature Confirmation | Require Signature Confirmation: Specifies that the responder process the signature in the request. Select this option to reduce the risk of attacks when the WSS Version is 1.1 . | Select the checkbox to enable. |
| Encrypt Signature | Encrypt Signature: Specifies whether the primary signature and signature confirmation elements must be encrypted. | Select the checkbox to enable. |
| Encrypt before Signing | Encrypt before Signing: Specifies that the order of message protection is to encrypt the SOAP content, then sign the entire SOAP body. The encryption key and signing key must be derived from the same source key. If not selected, the default behavior is Sign Before Encrypt. | Select the checkbox to enable. |
.| Property | Description | Value |
|---|---|---|
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. See Algorithm Suite under Table 12 for more information. | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. The options are Strict, Lax, Lax (Timestamp First), and Lax (Timestamp Last). See Security Header Layout under Table 12 for more information. | Strict |
| Require Derived Keys | Require Derived Keys: Specifies that a derived key is required. A derived key is a cryptographic key created from a password or other user data. Derived keys allow applications to create session keys as needed, eliminating the need to store a particular key. The use of the same session key (for example, when using Secure Session) for repeated message exchanges is sometimes considered a risk. To reduce that risk, enable Require Derived Keys. | Select the checkbox to enable. |
| Establish Secure Session (Secure Conversation) | Establish Secure Session: Secure Session enables establishes a shared security context between the consumer and provider when a multiple-message-exchange sequence is first initiated. Subsequent messages use (possibly derived) session keys that increase the overall security while reducing the security processing overhead for each message. For more information see Establish Secure Session under Table 12. | Select the checkbox to enable. |
| Require Derived Keys for Secure Session | Require Derived Keys for Secure Session: Specifies that a derived key is required for Secure Session. See Require Derived Keys above for more information. | Select the checkbox to enable. |
| Encrypt Signature | Encrypt Signature: Specifies whether the primary signature and signature confirmation elements must be encrypted. | Select the checkbox to enable. |
| Encrypt before Signing | Encrypt before Signing: Specifies that the order of message protection is to encrypt the SOAP content, then sign the entire SOAP body. The encryption key and signing key must be derived from the same source key. If not selected, the default behavior is Sign Before Encrypt. | Select the checkbox to enable. |
| Property | Description | Value |
|---|---|---|
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. See Algorithm Suite under Table 12 for more information. | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. Options are Strict, Lax, Lax (Timestamp First), and Lax (Timestamp Last). See Security Header Layout under Table 12 for more information. | Strict |
| Require Client Certificate | Require Client Certificate: Specifies that a client certificate must be provided to the server for verification. If you are using a security mechanism with SSL, a client certificate will be required by the server both during its initial handshake and again during verification. | Select the checkbox to enable. |
| Property | Description | Value |
|---|---|---|
| Authentication Token | Authentication Token: Specifies which supporting token will be used to sign and/or encrypt the specified message parts. Options include Username, X509, SAML, Issued, or None | Username |
| WSS Version | WSS Version: Specifies which version of the Web Services Security specification is followed. Options are 1.0 and 1.1. Enabling WSS 1.1 enables the Server to reuse an encrypted key already generated by the client. This saves the time otherwise required to create a Symmetric Key during the course of response, encrypt it with the client public key (which is also an expensive RSA operation), and transmit the encrypted key in the message (it occupies markup and requires Base64 operations). Enabling WSS 1.1 also enables encrypted headers. | 1.1 |
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. See Algorithm Suite under Table 12 for more information. | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. Options are Strict, Lax, Lax (Timestamp First), and Lax (Timestamp Last). See Security Header Layout under Table 12 for more information. | Strict |
| Establish Secure Session (Secure Conversation) | Establish Secure Session: Secure Session enables establishes a shared security context between the consumer and provider when a multiple-message-exchange sequence is first initiated. Subsequent messages use (possibly derived) session keys that increase the overall security while reducing the security processing overhead for each message. For more information see Establish Secure Session under Table 12. | Select the checkbox to enable. |
| Require Derived Keys for Secure Session | Require Derived Keys for Secure Session: Specifies that a derived key is required for Secure Session. A derived key is a cryptographic key created from a password or other user data. Derived keys allow applications to create session keys as needed, eliminating the need to store a particular key. The use of the same session key for repeated message exchanges is sometimes considered a risk. To reduce that risk, enable Require Derived Keys for Secure Session. | Select the checkbox to enable. |
| Require Signature Confirmation | Require Signature Confirmation: Specifies that the responder process the signature in the request. Select this option to reduce the risk of attacks when the WSS Version is 1.1 . | Select the checkbox to enable. |
| Property | Description | Value |
|---|---|---|
| SAML Version | SAML Version: Specifies which version of the SAML token should be used. The SAML Version is something the CallbackHandler has to verify, not the security runtime. SAML tokens are defined in WSS: SAML Token Profile documents, available from http://www.oasis-open.org/specs/index.php . | 1.1 (Profile 1.0) |
| WSS Version | WSS Version: Specifies which version of the Web Services Security specification is followed. Options are 1.0 and 1.1. Enabling WSS 1.1 enables the Server to reuse an encrypted key already generated by the client. This saves the time otherwise required to create a Symmetric Key during the course of response, encrypt it with the client public key (which is also an expensive RSA operation), and transmit the encrypted key in the message (it occupies markup and requires Base64 operations). Enabling WSS 1.1 also enables encrypted headers. | 1.1 |
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. See Algorithm Suite under Table 12 for more information. | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. Options are Strict, Lax, Lax (Timestamp First), and Lax (Timestamp Last). See Security Header Layout under Table 12 for more information. | Strict |
| Require Client Certificate | Require Client Certificate: Specifies that a client certificate must be provided to the server for verification. If you are using a security mechanism with SSL, a client certificate will be required by the server both during its initial handshake and again during verification. | Select the checkbox to enable. |
| Require Signature Confirmation | Require Signature Confirmation: Specifies that the responder process the signature in the request. Select this option to reduce the risk of attacks when the WSS Version is 1.1 . | Select the checkbox to enable. |
| Property | Description | Value |
|---|---|---|
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. See Algorithm Suite under Table 12 for more information. | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. Options are Strict, Lax, Lax (Timestamp First), and Lax (Timestamp Last). See Security Header Layout under Table 12 for more information. | Strict |
| Establish Secure Session (Secure Conversation) | Secure Session enables establishes a shared security context between the consumer and provider when a multiple-message-exchange sequence is first initiated. Subsequent messages use (possibly derived) session keys that increase the overall security while reducing the security processing overhead for each message. For more information see Establish Secure Session under Table 12. | Select the checkbox to enable. |
| Require Derived Keys for Secure Session | Require Derived Keys for Secure Session: Specifies that a derived key is required for Secure Session. See Require Derived Key above for more information. A derived key is a cryptographic key created from a password or other user data. Derived keys allow applications to create session keys as needed, eliminating the need to store a particular key. The use of the same session key for repeated message exchanges is sometimes considered a risk. To reduce that risk, enable Require Derived Keys for Secure Session. | Select the checkbox to enable. |
| Require Signature Confirmation | Require Signature Confirmation: Specifies that the responder process the signature in the request. Select this option to reduce the risk of attacks when the WSS Version is 1.1 . | Select the checkbox to enable. |
| Encrypt Signature | Encrypt Signature: Specifies whether the primary signature and signature confirmation elements must be encrypted. | Select the checkbox to enable. |
| Encrypt before Signing | Encrypt before Signing: Specifies that the order of message protection is to encrypt the SOAP content, then sign the entire SOAP body. The encryption key and signing key must be derived from the same source key. If not selected, the default behavior is Sign Before Encrypt. | Select the checkbox to enable. |

| Property | Description | Value |
|---|---|---|
| SAML Version | SAML Version: Specifies which version of the SAML token should be used. The SAML Version is something the CallbackHandler has to verify, not the security runtime. SAML tokens are defined in WSS: SAML Token Profile documents, available from http://www.oasis-open.org/specs/index.php . | 1.1 (Profile 1.0) |
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. See Algorithm Suite under Table 12 for more information. | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. Options are Strict, Lax, Lax (Timestamp First), and Lax (Timestamp Last). See Security Header Layout under Table 12 for more information. | Strict |
| Require Derived Keys | Require Derived Keys: Specifies that a derived key is required. A derived key is a cryptographic key created from a password or other user data. Derived keys allow applications to create session keys as needed, eliminating the need to store a particular key. The use of the same session key for repeated message exchanges is sometimes considered a risk. To reduce that risk, enable Require Derived Keys. | Select the checkbox to enable. |
| Establish Secure Session (Secure Conversation) | Establish Secure Session: Secure Session enables establishes a shared security context between the consumer and provider when a multiple-message-exchange sequence is first initiated. Subsequent messages use (possibly derived) session keys that increase the overall security while reducing the security processing overhead for each message. For more information see Establish Secure Session under Table 12. | Select the checkbox to enable. |
| Require Derived Keys for Secure Session | Require Derived Keys for Secure Session: Specifies that a derived key is required for Secure Session. See Require Derived Keys above for more information. | Select the checkbox to enable. |
| Encrypt Signature | Encrypt Signature: Specifies whether the primary signature and signature confirmation elements must be encrypted. | Select the checkbox to enable. |
| Encrypt before Signing | Encrypt before Signing: Specifies that the order of message protection is to encrypt the SOAP content, then sign the entire SOAP body. The encryption key and signing key must be derived from the same source key. If not selected, the default behavior is Sign Before Encrypt. | Select the checkbox to enable. |
| Property | Description | Value |
|---|---|---|
| SAML Version | SAML Version: Specifies which version of the SAML token should be used. The SAML Version is something the CallbackHandler has to verify, not the security runtime. SAML tokens are defined in WSS: SAML Token Profile documents, available from http://www.oasis-open.org/specs/index.php . | 1.1 (Profile 1.0) |
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. See Algorithm Suite under Table 12 for more information. | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. Options are Strict, Lax, Lax (Timestamp First), and Lax (Timestamp Last). See Security Header Layout under Table 12 for more information. | Strict |
| Require Derived Keys | Require Derived Keys: Specifies that a derived key is required. A derived key is a cryptographic key created from a password or other user data. Derived keys allow applications to create session keys as needed, eliminating the need to store a particular key. The use of the same session key for repeated message exchanges is sometimes considered a risk. To reduce that risk, enable Require Derived Keys. | Select the checkbox to enable. |
| Establish Secure Session (Secure Conversation) | Establish Secure Session: Secure Session enables establishes a shared security context between the consumer and provider when a multiple-message-exchange sequence is first initiated. Subsequent messages use (possibly derived) session keys that increase the overall security while reducing the security processing overhead for each message. For more information see Establish Secure Session under Table 12. | Select the checkbox to enable. |
| Require Derived Keys for Secure Session | Require Derived Keys for Secure Session: Specifies that a derived key is required for Secure Session. See Require Derived Keys above for more information. | Select the checkbox to enable. |
| Encrypt Signature | Encrypt Signature: Specifies whether the primary signature and signature confirmation elements must be encrypted. | Select the checkbox to enable. |
| Encrypt before Signing | Encrypt before Signing: Specifies that the order of message protection is to encrypt the SOAP content, then sign the entire SOAP body. The encryption key and signing key must be derived from the same source key. If not selected, the default behavior is Sign Before Encrypt. | Select the checkbox to enable. |
| Property | Description | Value |
|---|---|---|
| Issuer Address | Issuer Address: Specifies the address of the issuer (STS) that will accept the security token presented in the message. The element type is an endpoint reference. An STS contains a set of interfaces used to issue, exchange, and validate security tokens. For example, for JAX-WS services, the Issuer Address is: http://localhost:8080/jaxws-sts/sts | http://localhost:8080/jaxws-sts/sts |
| Issuer Metadata Address | Issuer Metadata Address: Specifies the address from which to retrieve the issuer metadata. This should just be the URLs. For example, for JAX-WS services, the Issuer Metadata Address is as follows: http://localhost:8080/jaxws-sts/sts | http://localhost:8080/jaxws-sts/sts |
| Token Type | Token Type: Specifies the type of SAML token required by the service provider. For example: urn:oasis:names:tc:SAML1.0:assertion.The options are 1.0, 1.1, or 2.0. | 1.1 |
| Key Type | Key Type: Specifies the type of key preferred by the service provider. The choices are public key or symmetric key: * Symmetric Key: cryptography relies on a shared secret and is usually faster than Public Key cryptography. * Public Key: cryptography relies on a key that is made public to all and is primarily used for encryption but can be used for verifying signatures. Applies to Issued Token mechanisms only. | Symmetric Key |
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. See Algorithm Suite under Table 12 for more information. | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. Options are Strict, Lax, Lax (Timestamp First), and Lax (Timestamp Last). See Security Header Layout under Table 12 for more information. | Strict |
| Require Derived Keys for Issued Token | Require Derived Keys for Issued Token: Specifies that a derived key is required for Secure Session. A derived key is a cryptographic key created from a password or other user data. Derived keys allow applications to create session keys as needed, eliminating the need to store a particular key. The use of the same session key for repeated message exchanges is sometimes considered a risk. To reduce that risk, enable Require Derived Keys for Issued Token. | Select the checkbox to enable. |
| Establish Secure Session (Secure Conversation) | Establish Secure Session: Secure Session enables establishes a shared security context between the consumer and provider when a multiple-message-exchange sequence is first initiated. Subsequent messages use (possibly derived) session keys that increase the overall security while reducing the security processing overhead for each message. For more information see Establish Secure Session under Table 12. | Select the checkbox to enable. |
| Require Derived Keys for Secure Session | Require Derived Keys for Secure Session: Specifies that a derived key is required for Secure Session. See Require Derived Keys for Issue Token above for more information. | Select the checkbox to enable. |
| Require Signature Confirmation | Require Signature Confirmation: Specifies that the responder process the signature in the request. Select this option to reduce the risk of attacks when the WSS Version is 1.1 . | Select the checkbox to enable. |
| Encrypt Signature | Encrypt Signature: Specifies whether the primary signature and signature confirmation elements must be encrypted. | Select the checkbox to enable. |
| Encrypt before Signing | Encrypt before Signing: Specifies that the order of message protection is to encrypt the SOAP content, then sign the entire SOAP body. The encryption key and signing key must be derived from the same source key. If not selected, the default behavior is Sign Before Encrypt. | Select the checkbox to enable. |
| Property | Description | Value |
|---|---|---|
| Issuer Address | Issuer Address: Specifies the address of the issuer (STS) that will accept the security token presented in the message. The element type is an endpoint reference. An STS contains a set of interfaces used to issue, exchange, and validate security tokens. For example, for JAX-WS services, the Issuer Address is: http://localhost:8080/jaxws-sts/sts | http://localhost:8080/jaxws-sts/sts |
| Issuer Metadata Address | Issuer Metadata Address: Specifies the address from which to retrieve the issuer metadata. This should just be the URLs. For example, for JAX-WS services, the Issuer Metadata Address is as follows: http://localhost:8080/jaxws-sts/sts | http://localhost:8080/jaxws-sts/sts |
| Token Type | Token Type: Specifies the type of SAML token required by the service provider. For example: urn:oasis:names:tc:SAML1.0:assertion. The options are 1.0, 1.1, or 2.0. | 1.1 |
| Key Type | Key Type: Specifies the type of key preferred by the service provider. The choices are public key or symmetric key: * Symmetric Key: cryptography relies on a shared secret and is usually faster than Public Key cryptography. * Public Key: cryptography relies on a key that is made public to all and is primarily used for encryption but can be used for verifying signatures. Applies to Issued Token mechanisms only. | Symmetric Key |
| Key Size | Key Size: Specifies the size of the symmetric key requested in number of bits. This information is provided as an indication of the desired strength of the security. Valid choices include 128, 192, and 256. The security token is not obligated to use the requested key size, nor is the STS obligated to issue a token with the same key size. That said, the recipient should try to use a key at least as strong as the specified value if possible. Applies to Issued Token mechanisms only. | 128 |
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. See Algorithm Suite under Table 12 for more information. | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. Options are Strict, Lax, Lax (Timestamp First), and Lax (Timestamp Last). See Security Header Layout under Table 12 for more information. | Strict |
| Require Derived Keys | Require Derived Keys: Specifies that a derived key is required A derived key is a cryptographic key created from a password or other user data. Derived keys allow applications to create session keys as needed, eliminating the need to store a particular key. The use of the same session key for repeated message exchanges is sometimes considered a risk. To reduce that risk, enable Require Derived Keys. | Select the checkbox to enable. |
| Establish Secure Session (Secure Conversation) | Establish Secure Session: Secure Session enables establishes a shared security context between the consumer and provider when a multiple-message-exchange sequence is first initiated. Subsequent messages use (possibly derived) session keys that increase the overall security while reducing the security processing overhead for each message. For more information see Establish Secure Session under Table 12. | Select the checkbox to enable. |
| Require Derived Keys for Secure Session | Require Derived Keys for Secure Session: Specifies that a derived key is required for Secure Session. See Require Derived Keys above for more information. | Select the checkbox to enable. |
| Require Signature Confirmation | Require Signature Confirmation: Specifies that the responder process the signature in the request. Select this option to reduce the risk of attacks when the WSS Version is 1.1 . | Select the checkbox to enable. |
| Encrypt Signature | Encrypt Signature: Specifies whether the primary signature and signature confirmation elements must be encrypted. | Select the checkbox to enable. |
| Encrypt before Signing | Encrypt before Signing: Specifies that the order of message protection is to encrypt the SOAP content, then sign the entire SOAP body. The encryption key and signing key must be derived from the same source key. If not selected, the default behavior is Sign Before Encrypt. | Select the checkbox to enable. |
| Property | Description | Value |
|---|---|---|
| Issuer Address | Issuer Address: Specifies the address of the issuer (STS) that will accept the security token presented in the message. The element type is an endpoint reference. An STS contains a set of interfaces used to issue, exchange, and validate security tokens. For example, for JAX-WS services, the Issuer Address is: http://localhost:8080/jaxws-sts/sts | http://localhost:8080/jaxws-sts/sts |
| Issuer Metadata Address | Issuer Metadata Address: Specifies the address from which to retrieve the issuer metadata. This should just be the URLs. For example, for JAX-WS services, the Issuer Metadata Address is as follows: http://localhost:8080/jaxws-sts/sts | http://localhost:8080/jaxws-sts/sts |
| Token Type | Token Type: Specifies the type of SAML token required by the service provider. For example: urn:oasis:names:tc:SAML1.0:assertion.The options are 1.0, 1.1, or 2.0. | 1.1 |
| Key Type | Key Type: Specifies the type of key preferred by the service provider. The choices are public key or symmetric key: * Symmetric Key: cryptography relies on a shared secret and is usually faster than Public Key cryptography. * Public Key: cryptography relies on a key that is made public to all and is primarily used for encryption but can be used for verifying signatures. Applies to Issued Token mechanisms only. | Symmetric Key |
| Key Size | Key Size: Specifies the size of the symmetric key requested in number of bits. This information is provided as an indication of the desired strength of the security. Valid choices include 128, 192, and 256. The security token is not obligated to use the requested key size, nor is the STS obligated to issue a token with the same key size. That said, the recipient should try to use a key at least as strong as the specified value if possible. Applies to Issued Token mechanisms only. | 128 |
| Algorithm Suite | Algorithm Suite: Specifies the algorithm suite required to perform cryptographic operations with symmetric or asymmetric key-based security tokens. See Algorithm Suite under Table 12 for more information. | Basic 128bit |
| Security Header Layout | Security Header Layout: Specifies the layout rule to apply when adding items to the security header. Options are Strict, Lax, Lax (Timestamp First), and Lax (Timestamp Last). See Security Header Layout under Table 12 for more information. | Strict |
| Require Derived Keys for X509 Token | Require Derived Keys for X509 Token: Specifies that a derived key is required for X509 Token. See Require Derived Key above for more information. A derived key is a cryptographic key created from a password or other user data. Derived keys allow applications to create session keys as needed, eliminating the need to store a particular key. The use of the same session key for repeated message exchanges is sometimes considered a risk. To reduce that risk, enable Require Derived Keys for X509 Token. | Select the checkbox to enable. |
| Require Derived Keys for Issued Token | Require Derived Keys for Issued Token: Specifies that a derived key is required for Issued Token. See Require Derived Keys for X509 Token above for more information. | Select the checkbox to enable. |
| Establish Secure Session (Secure Conversation) | Establish Secure Session: Secure Session enables establishes a shared security context between the consumer and provider when a multiple-message-exchange sequence is first initiated. Subsequent messages use (possibly derived) session keys that increase the overall security while reducing the security processing overhead for each message. For more information see Establish Secure Session under Table 12. | Select the checkbox to enable. |
| Require Derived Keys for Secure Session | Require Derived Keys for Secure Session: Specifies that a derived key is required for Secure Session. See Require Derived Keys for X509 Token above for more information. | Select the checkbox to enable. |
| Require Signature Confirmation | Require Signature Confirmation: Specifies that the responder process the signature in the request. Select this option to reduce the risk of attacks when the WSS Version is 1.1 . | Select the checkbox to enable. |
| Encrypt Signature | Encrypt Signature: Specifies whether the primary signature and signature confirmation elements must be encrypted. | Select the checkbox to enable. |
| Encrypt before Signing | Encrypt before Signing: Specifies that the order of message protection is to encrypt the SOAP content, then sign the entire SOAP body. The encryption key and signing key must be derived from the same source key. If not selected, the default behavior is Sign Before Encrypt. | Select the checkbox to enable. |