WS Configuration / WS Mailbox |
Web Services Security (WS-Security) is a flexible and feature-rich extension to SOAP to apply security to Web services. The protocol specifies how integrity and confidentiality can be enforced on messages and allows communication of various security token formats. Its main focus is the use of XML Signature and XML Encryption to provide end-to-end security. Visit http://www.oasis-open.org/specs/index.php#wssv1.0 for more information.
Use the mailbox Security tab to specify SSL (TCP sub-tab) and WS-Security options (Request and Certificates sub-tabs).
Use the TCP tab to specify an optional client certificate for TLS over secure TCP/IP. This certificate only needs to be specified for those servers that require that a client certificate be presented during SSL negotiations.
WS-Security options are specified using an XML policy file. Use of a WS-Security policy file allows a wide variety of security options. The most common options have been incorporated into VersaLex as the default policy. The security elements that you are required to provide are most often dictated by the service being connected to. Check with an administrator for required security elements.
If you have your own policy file to use, you can clear Use default policy and enter the location of your policy file in the Custom Policy field. Otherwise, select Use default policy.
The custom policy is loaded into VersaLex when the settings are saved. To force VersaLex to reload the policy (for example, if changes to the policy have been made), click Reload.
The Certificates tab is for specifying the signing and encryption certificates. If a signing certificate is specified, then the request is signed. If an encryption certificate is specified, then the request is encrypted. In the VersaLex implementation, if the request is encrypted, it must also be signed.
The Trading Partner's Certificates are those provided by the trading partner.
If you need more assistance with WS-Security, see the following resources:
http://www.ibm.com/developerworks/webservices/tutorials/ws-understand-web-services4/index.html
http://www.ibm.com/developerworks/java/library/j-jws4/
http://thilinamb.wordpress.com/2009/08/19/ws-security-policy-assymetric-binding-explained/