DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40796>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40796

           Summary: KeyResolverSpi derived classes require default
                    constructor
           Product: Security
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: [EMAIL PROTECTED]


Since xmlsec 1.4.RC2a classes that are derived from KeyResolverSpi should have a
default constructor because of some code in KeyResolverSpi:
KeyResolverSpi tmp = (KeyResolverSpi) getClass().newInstance();

The thing is that I don't want that the class KeyResolverSpi instantiates
itself. Since my derived key resolver was passed arguments during construction
via the constructor, a new instance would not have these arguments passed in.
This makes 1.4.RC2a unusable for my application.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to