Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 9261 invoked from network); 18 Apr 2011 12:37:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Apr 2011 12:37:50 -0000 Received: (qmail 89642 invoked by uid 500); 18 Apr 2011 12:37:49 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 89619 invoked by uid 500); 18 Apr 2011 12:37:49 -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 89611 invoked by uid 99); 18 Apr 2011 12:37:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 12:37:49 +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; Mon, 18 Apr 2011 12:37:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2FD4CA6BEE for ; Mon, 18 Apr 2011 12:37:06 +0000 (UTC) Date: Mon, 18 Apr 2011 12:37:06 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: <232058246.64225.1303130226192.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <967049409.50308.1302552546281.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CXF-3453) WS-Security signed headers fail when schema validation enabled 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-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp updated CXF-3453: ----------------------------- Fix Version/s: (was: 2.4) 2.4.1 > WS-Security signed headers fail when schema validation enabled > -------------------------------------------------------------- > > Key: CXF-3453 > URL: https://issues.apache.org/jira/browse/CXF-3453 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Affects Versions: 2.3.1, 2.3.3 > Reporter: Ross M. Lodge > Assignee: Daniel Kulp > Fix For: 2.4.1, 2.3.5 > > Attachments: SignedHeaderBug.zip > > > After turning on schema validation on a web-service with headers that are signed, but not encrypted, the schema validation fails because the "wsu:Id" is not allowed in the schema. > I've seen two forms of this: a complex type header fails with an error saying that the "wsu:Id" attribute isn't allowed, and a simple type header fails saying that no attributes are allowed (except for type, nill, schemaInstance, etc.). > I think this is a bug, as I don't know anything in the WS-Security specs that would prevent signing of simple type headers or prevent subsequent schema validation. > I've worked around this by using complex types and adding "" to those types, but it doesn't seem like this should be necessary, and doesn't fix the simple type problem. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira