https://issues.apache.org/bugzilla/show_bug.cgi?id=49456

           Summary: StorageResolver.next() gives ClassCastException
           Product: Security
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Encryption
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: clement_pelle...@ibi.com


Created an attachment (id=25607)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25607)
source code patch and new junit

The return type of StorageResolver.next() is X509Certificate, but the
implementation attempts to return a StorageResolverSpi instance causing a
ClassCastException. The way the KeyResolvers call this method, it appears the
API is correct but the implementation is wrong.

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

Reply via email to