XML and Web Services Security

Implementation Version: FCS 1.0

This XML and Web Services Security implementation, included as part of the JavaTM Web Services Developer Pack 1.5, provides a framework within which a JAX-RPC application developer will be able to secure applications in the following ways:

Since the Java standards for some of these security technologies are undergoing definition under the Java Community Process, the security solution that is provided in the Java Web Services Developer Pack 1.5 is based on nonstandard APIs, which are subject to change with new revisions of the technology. As standards are defined in the Web Services Security space, we will be moving toward using the appropriate standard APIs instead of these nonstandard APIs.

This distribution includes samples that show how a JAX-RPC application developer can use the XML and Web Services Security technology. As previously noted, these nonstandard APIs are subject to change and will be replaced with appropriate standards-based APIs as those APIs are defined.

How XWS-Security and JSRs 105 and 106 are related

XWS-Security APIs are used for securing Web services based on JAX-RPC. This release of XWS-Security is based on non-standard XML Digital Signature and XML Encryption APIs.

JSR-105 (XML Digital Signature APIs) are included in this release of the JWSDP as well. JSR 105 is a standard API (in progress, at Proposed Final Draft stage) for generating and validating XML Signatures as specified by the W3C recommendation. It is an API that should be used by Java applications and middleware that need to create and/or process XML Signatures. It can be used by Web Services Security (which is the goal for a future release) and by non-Web Services technologies, for example, documents stored or transferred in XML. Both JSR 105 and JSR 106 (XML Digital Encryption APIs) are core-XML security components.

XWS-Security does not use the JSR 105 or JSR 106 APIs. XWS-Security uses the Apache libraries for DSig and XML-Enc. In future releases, the goal of XWS-Security is to move toward using JSR 105 and JSR 106 APIs.

Command-line tools

In this release, the following command-line tools are included:


The documentation for this release consists of the following:

Questions, Feedback, Bug Reports

Please send questions, comments, and feedback to users@jwsdp.dev.java.net.

Due to the high volume of e-mail received on these aliases, you may not receive an immediate response to your inquiry.