Return-Path: Delivered-To: apmail-xml-security-dev-archive@www.apache.org Received: (qmail 74721 invoked from network); 13 Jul 2009 13:21:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jul 2009 13:21:31 -0000 Received: (qmail 91236 invoked by uid 500); 13 Jul 2009 13:21:41 -0000 Delivered-To: apmail-xml-security-dev-archive@xml.apache.org Received: (qmail 91223 invoked by uid 500); 13 Jul 2009 13:21:41 -0000 Mailing-List: contact security-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: security-dev@xml.apache.org List-Id: Delivered-To: mailing list security-dev@xml.apache.org Received: (qmail 91215 invoked by uid 99); 13 Jul 2009 13:21:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 13:21:41 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.98.43] (HELO brmea-mail-2.sun.com) (192.18.98.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 13:21:31 +0000 Received: from fe-amer-10.sun.com ([192.18.109.80]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n6DDLA9C004867 for ; Mon, 13 Jul 2009 13:21:10 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <0KMQ00K002F0QK00@mail-amer.sun.com> for security-dev@xml.apache.org; Mon, 13 Jul 2009 07:21:10 -0600 (MDT) Received: from [129.148.174.250] ([unknown] [129.148.174.250]) by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <0KMQ00AZL2F7HV40@mail-amer.sun.com> for security-dev@xml.apache.org; Mon, 13 Jul 2009 07:21:07 -0600 (MDT) Date: Mon, 13 Jul 2009 09:21:07 -0400 From: Sean Mullan Subject: Re: XMLSignature In-reply-to: <4A5B346E.50109@sun.com> Sender: Sean.Mullan@Sun.COM To: Sean Mullan Cc: security-dev@xml.apache.org Message-id: <4A5B34C3.30500@sun.com> References: <4A5B0319.1090901@free.fr> <4A5B346E.50109@sun.com> User-Agent: Thunderbird 2.0.0.22 (X11/20090612) X-Virus-Checked: Checked by ClamAV on apache.org Sean Mullan wrote: > Julien PASQUIER wrote: >> Hi all, >> >> I would like to create a class which extends the XMLSignature class >> but it is not possible because XMLSignature class is declared as "final". >> >> Is it possible te remove the "final" declaration from the XMLSecurity >> class in the next release of XMLSecurity (v1.4.3) ? > > The XMLSignature classes (org.apache.xml.security.signature.XMLSignature > and javax.xml.crypto.dsig.XMLSignature) are not designed to be > subclassed. Instead, I would ask what you are trying to do and have you > considered other solutions? Actually just org.apache.xml.security.signature.XMLSignature is final, the other XMLSignature class (JSR 105) is an interface. --Sean