Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 23788 invoked from network); 16 Mar 2011 03:01:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Mar 2011 03:01:00 -0000 Received: (qmail 7938 invoked by uid 500); 16 Mar 2011 03:00:59 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 7827 invoked by uid 500); 16 Mar 2011 03:00:57 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 7816 invoked by uid 99); 16 Mar 2011 03:00:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 03:00:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 03:00:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 001243ABA28 for ; Wed, 16 Mar 2011 03:00:29 +0000 (UTC) Date: Wed, 16 Mar 2011 03:00:29 +0000 (UTC) From: "David Valeri (JIRA)" To: issues@cxf.apache.org Message-ID: <1726120361.5824.1300244429997.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Resolved: (CXF-2656) WS-SP signed elements assertion cannot be applied to portions of the signature in outbound processing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Valeri resolved CXF-2656. ------------------------------- Resolution: Not A Problem Assignee: David Valeri Before creating a test case, I reviewed the WS-Security 1.1 X509 token profile to determine the applicability of this issue to a specification compliant implementation. The original driver behind this issue was the need to include X509 tokens in the message signature. Since the X509 token profile requires that a wsse:SecurityTokenReference is used in ds:KeyInfo and also specifies a limited number of mechanisms by which the wsse:SecurityTokenReference may reference/include an X509 token, the situation where an embedded X509 certificate is present as a descendant of ds:KeyInfo cannot arise. Since the available reference mechanisms in the specification all rely on a token that is not embedded as part of the actual XML digital signature, the token can always be protected using the STR Dereference Transform or directly referenced from a ds:Reference when a wsse:BinarySecurityToken is embedded in the WS-Security header of the message. As such, the original use case for this issue is handled by existing capabilities now that CXF-2655 is resolved. I'm resolving the issues as "Not A Problem". > WS-SP signed elements assertion cannot be applied to portions of the signature in outbound processing > ----------------------------------------------------------------------------------------------------- > > Key: CXF-2656 > URL: https://issues.apache.org/jira/browse/CXF-2656 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Affects Versions: 2.3.0 > Reporter: David Valeri > Assignee: David Valeri > Fix For: NeedMoreInfo > > > AsymetricBinding can't sign parts created by the WSS4J signature processing code. Because AsymetricBinding calculates signature covered parts before creating/embedding the constructs of the WS-S signature into the SAAJ DOM, it cannot find things like the ws:KeyInfo to sign. > Changing the order of operations is necessary to resolve this issue. It would appear that WSS4J supports this capability any time after prepare has been called as it can accomplish this feat when using the build convenience method. > Test case is pending. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira