felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4658) URL of the CodeSource of a ProtectionDomain should resolve to the right JAR
Date Wed, 01 Oct 2014 13:51:34 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Karl Pauls resolved FELIX-4658.
       Resolution: Fixed
    Fix Version/s: framework-4.6.0

I committed the patch to trunk. Please close this issue if it works for you.

> URL of the CodeSource of a ProtectionDomain should resolve to the right JAR
> ---------------------------------------------------------------------------
>                 Key: FELIX-4658
>                 URL: https://issues.apache.org/jira/browse/FELIX-4658
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: framework-4.4.1
>         Environment: OpenJDK, Oracle JRE
>            Reporter: Dirk Rudolph
>            Assignee: Karl Pauls
>             Fix For: framework-4.6.0
>         Attachments: codesource.patch, codesource2.patch, error-20140930-1544.log
> The BundleProtectionDomain should support a CodeSource with a proper URLHandler that
can be used to get a connection to the JAR file a class is loaded from.
> Use Case:
> In combination with JCE the JceSecurity implementation tries to open a URLConnection
to the location of the CodeSource. This is necessary for JAR signature check used with strong
encryption and for example bouncycastle as JCE provider.
> For further details have a look at:
> http://mail-archives.apache.org/mod_mbox/felix-users/201409.mbox/%3C29FBA46A464316449BF990BA4D74D578052FECF7D89E@HE113607.emea1.cds.t-internal.com%3E

This message was sent by Atlassian JIRA

View raw message