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

Reply via email to