Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 93536 invoked from network); 11 Apr 2011 20:11:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 20:11:43 -0000 Received: (qmail 78341 invoked by uid 500); 11 Apr 2011 20:11:43 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 78319 invoked by uid 500); 11 Apr 2011 20:11:43 -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 78311 invoked by uid 99); 11 Apr 2011 20:11:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 20:11:43 +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, 11 Apr 2011 20:11:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C6A0A9CD87 for ; Mon, 11 Apr 2011 20:11:05 +0000 (UTC) Date: Mon, 11 Apr 2011 20:11:05 +0000 (UTC) From: "Ross M. Lodge (JIRA)" To: issues@cxf.apache.org Message-ID: <86569021.50314.1302552665809.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 [ https://issues.apache.org/jira/browse/CXF-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ross M. Lodge updated CXF-3453: ------------------------------- Attachment: SignedHeaderBug.zip Attached is a zip file of a maven project that exhibits this problem. If you unzip it, CD to the WSSecurityTutorialParent directory, and execute "mvn clean install -Pintegration-test", you should see four failed tests due to this problem. The problem should be exhibited in both complex and simple type forms, and will occur on the response as well. > 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 > 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