JBossWS SVN: r15610 - common/branches.
by jbossws-commits@lists.jboss.org
Author: klape
Date: 2012-02-06 10:33:26 -0500 (Mon, 06 Feb 2012)
New Revision: 15610
Added:
common/branches/jbossws-common-1.1.0.SP6_JBPAPP-8026/
Log:
creating one-off branch
12 years, 7 months
JBossWS SVN: r15609 - in common/branches/jbossws-common-1.1.0/src/main/java/org/jboss: wsf/common and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: klape
Date: 2012-02-06 10:31:38 -0500 (Mon, 06 Feb 2012)
New Revision: 15609
Modified:
common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/ws/Constants.java
common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/wsf/common/DOMWriter.java
Log:
[JBPAPP-7977] DOMWriter shouldn't flush the output stream after every element
Modified: common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/ws/Constants.java
===================================================================
--- common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/ws/Constants.java 2012-02-05 11:08:17 UTC (rev 15608)
+++ common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/ws/Constants.java 2012-02-06 15:31:38 UTC (rev 15609)
@@ -304,4 +304,6 @@
static final String DOM_CONTENT_CANONICAL_NORMALIZATION = "org.jboss.ws.DOMContentCanonicalNormalization";
static final String ALWAYS_RESOLVE_DOCUMENT_BUILDER_FACTORY = "org.jboss.ws.alwaysResolveDocumentBuilderFactory";
+
+ static final String FLUSH_ONLY_ONCE = "org.jboss.ws.domwriter.FlushOnlyOnce";
}
Modified: common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/wsf/common/DOMWriter.java
===================================================================
--- common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/wsf/common/DOMWriter.java 2012-02-05 11:08:17 UTC (rev 15608)
+++ common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/wsf/common/DOMWriter.java 2012-02-06 15:31:38 UTC (rev 15609)
@@ -71,6 +71,8 @@
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
+import org.jboss.ws.Constants;
+
/**
* Traverse a DOM tree in order to print a document that is parsed.
*
@@ -102,7 +104,15 @@
private boolean completeNamespaces = true;
// The current default namespace
private String currentDefaultNamespace;
+ // How often should we flush the output stream?
+ private static final boolean flushOnlyOnce;
+ static
+ {
+ flushOnlyOnce = System.getProperty(Constants.FLUSH_ONLY_ONCE, "false")
+ .equals("true");
+ }
+
public DOMWriter(Writer w)
{
this.out = new PrintWriter(w);
@@ -231,6 +241,8 @@
rootNode = node;
printInternal(node, false);
+ if(flushOnlyOnce)
+ out.flush();
}
private void printInternal(Node node, boolean indentEndMarker)
@@ -510,7 +522,9 @@
out.print('\n');
}
}
- out.flush();
+
+ if(!flushOnlyOnce)
+ out.flush();
}
private String getNamespaceURI(String prefix, Element element, Node stopNode)
12 years, 7 months
JBossWS SVN: r15608 - stack/native/trunk/modules/dist/src/main/distro.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2012-02-05 06:08:17 -0500 (Sun, 05 Feb 2012)
New Revision: 15608
Modified:
stack/native/trunk/modules/dist/src/main/distro/ReleaseNotes.txt
Log:
Some link updates in the release notes
Modified: stack/native/trunk/modules/dist/src/main/distro/ReleaseNotes.txt
===================================================================
--- stack/native/trunk/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-05 11:05:56 UTC (rev 15607)
+++ stack/native/trunk/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-05 11:08:17 UTC (rev 15608)
@@ -7,8 +7,8 @@
Release Notes
=============
-The project home page (http://www.jboss.org/jbossws) and the community wiki
-(http://www.jboss.org/community/wiki/JBossWS) are usually good starting points.
+The project home page (http://www.jboss.org/jbossws) and the official documentation
+(https://docs.jboss.org/author/display/JBWS) are usually good starting points.
They contain the User Guide and Quick Start instructions.
A list of examples that accompany the UserGuide can be found in the tests directory
@@ -18,10 +18,10 @@
http://www.jboss.org/index.html?module=bb&op=viewforum&f=200
For details see the change log.
-http://jira.jboss.com/jira/browse/JBWS?report=com.atlassian.jira.plugin.system.project:changelog-panel
+https://issues.jboss.org/browse/JBWS?report=com.atlassian.jira.plugin.system.project:changelog-panel#selectedTab=com.atlassian.jira.plugin.system.project%3Achangelog-panel
For issues that are scheduled for future versions see the road map.
-http://jira.jboss.com/jira/browse/JBWS?report=com.atlassian.jira.plugin.system.project:roadmap-panel
+https://issues.jboss.org/browse/JBWS?report=com.atlassian.jira.plugin.system.project:changelog-panel#selectedTab=com.atlassian.jira.plugin.system.project%3Aroadmap-panel
What's new in jbossws-native-${project.version}
----------------------------------
12 years, 7 months
JBossWS SVN: r15607 - stack/cxf/trunk/modules/dist/src/main/distro.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2012-02-05 06:05:56 -0500 (Sun, 05 Feb 2012)
New Revision: 15607
Modified:
stack/cxf/trunk/modules/dist/src/main/distro/ReleaseNotes.txt
Log:
Some link updates in the release notes
Modified: stack/cxf/trunk/modules/dist/src/main/distro/ReleaseNotes.txt
===================================================================
--- stack/cxf/trunk/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-04 06:32:52 UTC (rev 15606)
+++ stack/cxf/trunk/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-05 11:05:56 UTC (rev 15607)
@@ -7,8 +7,8 @@
Release Notes
=============
-The project home page (http://www.jboss.org/jbossws) and the community wiki
-(http://www.jboss.org/community/wiki/JBossWS) are usually good starting points.
+The project home page (http://www.jboss.org/jbossws) and the official documentation
+(https://docs.jboss.org/author/display/JBWS) are usually good starting points.
They contain the User Guide and Quick Start instructions.
A list of examples that accompany the UserGuide can be found in the tests directory
@@ -18,10 +18,10 @@
http://www.jboss.org/index.html?module=bb&op=viewforum&f=276
For details see the change log.
-http://jira.jboss.com/jira/browse/JBWS?report=com.atlassian.jira.plugin.system.project:changelog-panel
+https://issues.jboss.org/browse/JBWS?report=com.atlassian.jira.plugin.system.project:changelog-panel#selectedTab=com.atlassian.jira.plugin.system.project%3Achangelog-panel
For issues that are scheduled for future versions see the road map.
-http://jira.jboss.com/jira/browse/JBWS?report=com.atlassian.jira.plugin.system.project:roadmap-panel
+https://issues.jboss.org/browse/JBWS?report=com.atlassian.jira.plugin.system.project:changelog-panel#selectedTab=com.atlassian.jira.plugin.system.project%3Aroadmap-panel
What's new in jbossws-cxf-${project.version}
----------------------------------
12 years, 7 months
JBossWS SVN: r15606 - stack/cxf/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: ropalka
Date: 2012-02-04 01:32:52 -0500 (Sat, 04 Feb 2012)
New Revision: 15606
Modified:
stack/cxf/trunk/modules/testsuite/pom.xml
Log:
sync. with AS7 trunk
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2012-02-04 06:03:20 UTC (rev 15605)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2012-02-04 06:32:52 UTC (rev 15606)
@@ -1271,7 +1271,7 @@
<additionalClasspathElements>
<!-- Lib below required just for jaxrpc tests; listed here to prevent CXF stack from depending on Native stack -->
<!-- JBossWS Native Core version available on 710 -->
- <additionalClasspathElement>${jboss.home}/modules/org/jboss/ws/native/jbossws-native-core/main/jbossws-native-core-4.0.0.GA.jar</additionalClasspathElement>
+ <additionalClasspathElement>${jboss.home}/modules/org/jboss/ws/native/jbossws-native-core/main/jbossws-native-core-4.0.1.GA.jar</additionalClasspathElement>
<!-- JBossWS Native Core version overwritten by jbossws-native stack install -->
<additionalClasspathElement>${jboss.home}/modules/org/jboss/ws/native/jbossws-native-core/main/jbossws-native-core.jar</additionalClasspathElement>
<!-- JBossWS Native Core version specified through system property -->
12 years, 7 months
JBossWS SVN: r15605 - stack/cxf/trunk.
by jbossws-commits@lists.jboss.org
Author: ropalka
Date: 2012-02-04 01:03:20 -0500 (Sat, 04 Feb 2012)
New Revision: 15605
Modified:
stack/cxf/trunk/pom.xml
Log:
use SPI 2.0.3-SNAPSHOT
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2012-02-03 16:39:23 UTC (rev 15604)
+++ stack/cxf/trunk/pom.xml 2012-02-04 06:03:20 UTC (rev 15605)
@@ -60,7 +60,7 @@
<!-- Properties -->
<properties>
<jbossws.api.version>1.0.1-SNAPSHOT</jbossws.api.version>
- <jbossws.spi.version>2.0.2-SNAPSHOT</jbossws.spi.version>
+ <jbossws.spi.version>2.0.3-SNAPSHOT</jbossws.spi.version>
<jbossws.common.version>2.0.1-SNAPSHOT</jbossws.common.version>
<jbossws.common.tools.version>1.0.0.GA</jbossws.common.tools.version>
<jbossws.shared.testsuite.version>4.0.1-SNAPSHOT</jbossws.shared.testsuite.version>
12 years, 7 months
JBossWS SVN: r15604 - stack/native/tags/jbossws-native-4.0.1.GA/modules/dist/src/main/distro.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2012-02-03 11:39:23 -0500 (Fri, 03 Feb 2012)
New Revision: 15604
Modified:
stack/native/tags/jbossws-native-4.0.1.GA/modules/dist/src/main/distro/ReleaseNotes.txt
Log:
Updating release notes
Modified: stack/native/tags/jbossws-native-4.0.1.GA/modules/dist/src/main/distro/ReleaseNotes.txt
===================================================================
--- stack/native/tags/jbossws-native-4.0.1.GA/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-03 16:38:28 UTC (rev 15603)
+++ stack/native/tags/jbossws-native-4.0.1.GA/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-03 16:39:23 UTC (rev 15604)
@@ -26,21 +26,33 @@
What's new in jbossws-native-${project.version}
----------------------------------
-Feature Request
+Feature Request / Enhancement
- TODO: enumerate
+ * [JBWS-2251] - Enhance X509 certificate issuer comparison
+ * [JBWS-3408] - maven-jaxws-tools-plugin <target> option is undocumented
+ * [JBWS-3420] - Enhance deployment performance by simplifying connector conf retrieval
+ * [JBWS-3162] - Add javaee_web_services_metadata_handler_2_0.xsd to jbossws-entities.properties
Bug
- TODO: enumerate
+ * [JBWS-3386] - Usernametoken support requires optional elements
+ * [JBWS-3414] - DeploymentAspectManagerImpl does not properly deal with deployment failures
+ * [JBWS-3415] - Provider endpoints are not processed for DD contribution
+ * [JBWS-3416] - MetadataBuilder does not re-use WebserviceMetadata parsed into AS integration layer
+ * [JBWS-3417] - JAXWSServerMetaDataBuilder::processWSDDContribution does not process WSDL location override
+ * [JBWS-3421] - EndpointRegistryDeploymentAspect can't properly deal with AS7 domain reloads
+ * [JBWS-3423] - JBWS3277TestCase.testMtomSawpFile fails on Windows
Task
- TODO: enumerate
+ * [JBWS-3388] - Switch to remoting-jmx for tests using JMX to connect to the server
+ * [JBWS-3419] - Restore managed endpoint registry
+ * [JBWS-3422] - Review and enable passing serviceref/webserviceref tests
+ * [JBWS-3425] - Upgrade to JAXB 2.2.4
Errata
- See: TODO: reference to associated JIRA issue
+ See: https://jira.jboss.org/browse/JBWS-3428
Enjoy,
The JBossWS Team
12 years, 7 months
JBossWS SVN: r15603 - stack/native/trunk/modules/dist/src/main/distro.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2012-02-03 11:38:28 -0500 (Fri, 03 Feb 2012)
New Revision: 15603
Modified:
stack/native/trunk/modules/dist/src/main/distro/ReleaseNotes.txt
Log:
Updating release notes
Modified: stack/native/trunk/modules/dist/src/main/distro/ReleaseNotes.txt
===================================================================
--- stack/native/trunk/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-03 16:36:56 UTC (rev 15602)
+++ stack/native/trunk/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-03 16:38:28 UTC (rev 15603)
@@ -49,6 +49,38 @@
Previous Releases ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------
+jbossws-native-4.0.1.GA
+-----------------------
+
+Feature Request / Enhancement
+
+ * [JBWS-2251] - Enhance X509 certificate issuer comparison
+ * [JBWS-3408] - maven-jaxws-tools-plugin <target> option is undocumented
+ * [JBWS-3420] - Enhance deployment performance by simplifying connector conf retrieval
+ * [JBWS-3162] - Add javaee_web_services_metadata_handler_2_0.xsd to jbossws-entities.properties
+
+Bug
+
+ * [JBWS-3386] - Usernametoken support requires optional elements
+ * [JBWS-3414] - DeploymentAspectManagerImpl does not properly deal with deployment failures
+ * [JBWS-3415] - Provider endpoints are not processed for DD contribution
+ * [JBWS-3416] - MetadataBuilder does not re-use WebserviceMetadata parsed into AS integration layer
+ * [JBWS-3417] - JAXWSServerMetaDataBuilder::processWSDDContribution does not process WSDL location override
+ * [JBWS-3421] - EndpointRegistryDeploymentAspect can't properly deal with AS7 domain reloads
+ * [JBWS-3423] - JBWS3277TestCase.testMtomSawpFile fails on Windows
+
+Task
+
+ * [JBWS-3388] - Switch to remoting-jmx for tests using JMX to connect to the server
+ * [JBWS-3419] - Restore managed endpoint registry
+ * [JBWS-3422] - Review and enable passing serviceref/webserviceref tests
+ * [JBWS-3425] - Upgrade to JAXB 2.2.4
+
+Errata
+
+ See: https://jira.jboss.org/browse/JBWS-3428
+
+-----------------------
jbossws-native-4.0.0.GA
-----------------------
12 years, 7 months
JBossWS SVN: r15602 - in stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main: doc and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2012-02-03 11:36:56 -0500 (Fri, 03 Feb 2012)
New Revision: 15602
Modified:
stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/distro/ReleaseNotes.txt
stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/Revision_History.xml
stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-2-Quick_Start.xml
stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-4-JAX_WS_Tools.xml
stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-5-Advanced_User_Guide.xml
Log:
Updating release notes and documentation
Modified: stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/distro/ReleaseNotes.txt
===================================================================
--- stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-03 16:36:21 UTC (rev 15601)
+++ stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-03 16:36:56 UTC (rev 15602)
@@ -28,19 +28,29 @@
Bug
- TODO: enumerate
+ * [JBWS-3262] - Fix JBWS1582TestCase for CXF stack.
+ * [JBWS-3413] - java.xml.ws.spi.Provider resolution is JVM implementation specific
+ * [JBWS-3414] - DeploymentAspectManagerImpl does not properly deal with deployment failures
+ * [JBWS-3421] - EndpointRegistryDeploymentAspect can't properly deal with AS7 domain reloads
-Feature Request
+Feature Request / Enhancement
- TODO: enumerate
+ * [JBWS-3408] - maven-jaxws-tools-plugin <target> option is undocumented
+ * [JBWS-3420] - Enhance deployment performance by simplifying connector conf retrieval
Task
- TODO: enumerate
+ * [JBWS-3388] - Switch to remoting-jmx for tests using JMX to connect to the server
+ * [JBWS-3395] - Avoid CXFInstanceProvider thowing NPE when the endpoint ServiceBean is not available
+ * [JBWS-3410] - Upgrade to Apache CXF 2.4.6
+ * [JBWS-3412] - Add WS-Security Policy (sign+encrypt) testcase with multiple clients support
+ * [JBWS-3419] - Restore managed endpoint registry
+ * [JBWS-3422] - Review and enable passing serviceref/webserviceref tests
+ * [JBWS-3425] - Upgrade to JAXB 2.2.4
Errata
- See: TODO: reference to associated JIRA issue
+ See: https://issues.jboss.org/browse/JBWS-3427
This version of ${project.name} is based on Apache CXF ${cxf.version}
Modified: stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/Revision_History.xml
===================================================================
--- stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/Revision_History.xml 2012-02-03 16:36:21 UTC (rev 15601)
+++ stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/Revision_History.xml 2012-02-03 16:36:56 UTC (rev 15602)
@@ -6,7 +6,7 @@
<revhistory>
<revision>
<revnumber>4.0.0</revnumber>
- <date>Mon Dec 19 2012</date>
+ <date>Mon Dec 19 2011</date>
<author>
<firstname>Alessio</firstname>
<surname>Soldano</surname>
@@ -18,6 +18,20 @@
</simplelist>
</revdescription>
</revision>
+ <revision>
+ <revnumber>4.0.1</revnumber>
+ <date>Fri Feb 03 2012</date>
+ <author>
+ <firstname>Alessio</firstname>
+ <surname>Soldano</surname>
+ <email>alessio.soldano(a)jboss.com</email>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>JBossWS-CXF 4.0.1 documentation</member>
+ </simplelist>
+ </revdescription>
+ </revision>
</revhistory>
</simpara>
</appendix>
Modified: stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-2-Quick_Start.xml
===================================================================
--- stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-2-Quick_Start.xml 2012-02-03 16:36:21 UTC (rev 15601)
+++ stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-2-Quick_Start.xml 2012-02-03 16:36:56 UTC (rev 15602)
@@ -3,7 +3,11 @@
<chapter id="sid-3735860">
<title>Quick Start</title>
- <para>JBossWS uses the JBoss Application Server as its target container. The following examples focus on web service deployments that leverage EJB3 service implementations and the JAX-WS programming models. For further information on POJO service implementations and advanced topics you need consult the user guide.</para>
+ <para>
+ JBossWS uses the JBoss Application Server as its target container. The following examples focus on web service deployments that leverage EJB3 service implementations and the JAX-WS programming models. For further information on POJO service implementations and advanced topics you need consult the
+ <link linkend="sid-3866716">user guide</link>
+ .
+ </para>
<section id="sid-3735860_QuickStart-Developingwebserviceimplementations">
<title>Developing web service implementations</title>
Modified: stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-4-JAX_WS_Tools.xml
===================================================================
--- stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-4-JAX_WS_Tools.xml 2012-02-03 16:36:21 UTC (rev 15601)
+++ stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-4-JAX_WS_Tools.xml 2012-02-03 16:36:56 UTC (rev 15602)
@@ -702,6 +702,53 @@
<para>false</para>
</entry>
</row>
+ <row>
+ <entry>
+ <para>argLine</para>
+ </entry>
+ <entry>
+ <para>
+ An optional additional argline to be used when running in fork mode;
+
+ can be used to set endorse dir, enable debugging, etc.
+
+
+ <emphasis role="strong">
+ <emphasis role="italics">Example</emphasis>
+ </emphasis>
+
+ <code><argLine>-Djava.endorsed.dirs=...</argLine></code>
+ </para>
+ </entry>
+ <entry>
+ <para>none</para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <para>fork</para>
+ </entry>
+ <entry>
+ <para>
+ Whether or not to run the generation task in a separate VM.
+
+ </para>
+ </entry>
+ <entry>
+ <para>false</para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <para>target</para>
+ </entry>
+ <entry>
+ <para>A preference for the JAX-WS specification target</para>
+ </entry>
+ <entry>
+ <para>Depends on the underlying stack and endorsed dirs if any</para>
+ </entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
Modified: stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-5-Advanced_User_Guide.xml
===================================================================
--- stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-5-Advanced_User_Guide.xml 2012-02-03 16:36:21 UTC (rev 15601)
+++ stack/cxf/tags/jbossws-cxf-4.0.1.GA/modules/dist/src/main/doc/chapter-5-Advanced_User_Guide.xml 2012-02-03 16:36:56 UTC (rev 15602)
@@ -670,7 +670,7 @@
<ulink url="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/v1.3/ws-securitypolicy...">WS-SecurityPolicy specification</ulink>
allows for specifying things like asymmetric/symmetric keys, using transports (https) for encryption, which parts/headers to encrypt or sign, whether to sign then encrypt or encrypt then sign, whether to include timestamps, whether to use derived keys, etc.
</para>
- <para>However some mandatory configuration elements are not covered by WS-SecurityPolicy, basically because they're not meant to be public / part of the published endpoint contract; those include things such as keystore locations, usernames and passwords, etc. Apache CXF allows configuring these elements either through Spring xml descriptors or using the client API. Below is the list of supported configuration properties:</para>
+ <para>However some mandatory configuration elements are not covered by WS-SecurityPolicy, basically because they're not meant to be public / part of the published endpoint contract; those include things such as keystore locations, usernames and passwords, etc. Apache CXF allows configuring these elements either through Spring xml descriptors or using the client API / annotations. Below is the list of supported configuration properties:</para>
<informaltable>
<tgroup cols="2">
<thead>
@@ -833,11 +833,39 @@
}</programlisting>
</informalexample>
</section>
+ <section id="sid-3866795_WS-Security-ApacheCXFannotations">
+
+ <title>Apache CXF annotations</title>
+ <para>
+ The JBossWS configuration additions allow for a descriptor approach to the WS-Security Policy engine configuration. If you prefer to provide the same information through an annotation approach, you can leverage the Apache CXF
+ <code>@org.apache.cxf.annotations.EndpointProperties</code>
+ annotation:
+ </para>
+ <informalexample>
+ <programlisting>@WebService(
+ ...
+)
+@EndpointProperties(value = {
+ @EndpointProperty(key = "ws-security.signature.properties", value = "bob.properties"),
+ @EndpointProperty(key = "ws-security.encryption.properties", value = "bob.properties"),
+ @EndpointProperty(key = "ws-security.signature.username", value = "bob"),
+ @EndpointProperty(key = "ws-security.encryption.username", value = "alice"),
+ @EndpointProperty(key = "ws-security.callback-handler", value = "org.jboss.test.ws.jaxws.samples.wsse.policy.basic.KeystorePasswordCallback")
+ }
+)
+public class ServiceImpl implements ServiceIface {
+ ...
+}</programlisting>
+ </informalexample>
+ </section>
</section>
<section id="sid-3866795_WS-Security-Examples">
<title>Examples</title>
<para>In this section some sample of WS-Security service endpoints and clients are provided. Please note they're only meant as tutorials; you should really careful isolate the ws-security policies / assertion that best suite your security needs before going to production environment.</para>
+ <warning>
+ <para>The following sections provide directions and examples on understanding some of the configuration options for WS-Security engine. Please note the implementor remains responsible for assessing the application requirements and choosing the most suitable security policy for them.</para>
+ </warning>
<section id="sid-3866795_WS-Security-Signatureandencryption">
<title>Signature and encryption</title>
@@ -1190,6 +1218,18 @@
</informalexample>
<para>The Apache CXF WS-Policy engine will digest the security requirements in the contract and ensure a valid secure communication is in place for interacting with the server endpoint.</para>
</section>
+ <section id="sid-3866795_WS-Security-Endpointservingmultipleclients">
+
+ <title>Endpoint serving multiple clients</title>
+ <para>
+ The server side configuration described above implies the endpoint is configured for serving a given client which a service agreement has been established for. In some real world scenarios though, the same server might be expected to be able to deal with (including decrypting and encrypting) messages coming from and being sent to multiple clients. Apache CXF supports that through the
+ <code>useReqSigCert</code>
+ value for the
+ <code>ws-security.encryption.username</code>
+ configuration parameter.
+ </para>
+ <para>Of course the referenced server side keystore then needs to contain the public key of all the clients that are expected to be served.</para>
+ </section>
</section>
<section id="sid-3866795_WS-Security-Authenticationandauthorization">
12 years, 7 months
JBossWS SVN: r15601 - stack/cxf/trunk/modules/dist/src/main/distro.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2012-02-03 11:36:21 -0500 (Fri, 03 Feb 2012)
New Revision: 15601
Modified:
stack/cxf/trunk/modules/dist/src/main/distro/ReleaseNotes.txt
Log:
Updating release notes
Modified: stack/cxf/trunk/modules/dist/src/main/distro/ReleaseNotes.txt
===================================================================
--- stack/cxf/trunk/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-03 16:32:27 UTC (rev 15600)
+++ stack/cxf/trunk/modules/dist/src/main/distro/ReleaseNotes.txt 2012-02-03 16:36:21 UTC (rev 15601)
@@ -49,7 +49,41 @@
Previous Releases ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
--------------------
+jbossws-cxf-4.0.1.GA
+--------------------
+
+Bug
+
+ * [JBWS-3262] - Fix JBWS1582TestCase for CXF stack.
+ * [JBWS-3413] - java.xml.ws.spi.Provider resolution is JVM implementation specific
+ * [JBWS-3414] - DeploymentAspectManagerImpl does not properly deal with deployment failures
+ * [JBWS-3421] - EndpointRegistryDeploymentAspect can't properly deal with AS7 domain reloads
+
+Feature Request / Enhancement
+
+ * [JBWS-3408] - maven-jaxws-tools-plugin <target> option is undocumented
+ * [JBWS-3420] - Enhance deployment performance by simplifying connector conf retrieval
+
+Task
+
+ * [JBWS-3388] - Switch to remoting-jmx for tests using JMX to connect to the server
+ * [JBWS-3395] - Avoid CXFInstanceProvider thowing NPE when the endpoint ServiceBean is not available
+ * [JBWS-3410] - Upgrade to Apache CXF 2.4.6
+ * [JBWS-3412] - Add WS-Security Policy (sign+encrypt) testcase with multiple clients support
+ * [JBWS-3419] - Restore managed endpoint registry
+ * [JBWS-3422] - Review and enable passing serviceref/webserviceref tests
+ * [JBWS-3425] - Upgrade to JAXB 2.2.4
+
+Errata
+
+ See: https://issues.jboss.org/browse/JBWS-3427
+
+This version of JBoss Web Services - Stack CXF Distrubiton is based on Apache CXF 2.4.6
+
+
+--------------------
jbossws-cxf-4.0.0.GA
--------------------
12 years, 7 months