felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-756) Allow URLStreamHandler services to override built-in handlers.
Date Tue, 21 Oct 2008 14:41:44 GMT

    [ https://issues.apache.org/jira/browse/FELIX-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641392#action_12641392
] 

Richard S. Hall commented on FELIX-756:
---------------------------------------

Yes, we just recently removed the "strict" property from the trunk, since we removed the last
feature than depended on it. It is not clear if this should be controlled by a property, since
it does open a security hole in the general case, but we can implement the capability first
before deciding how to control it.

> Allow URLStreamHandler services to override built-in handlers. 
> ---------------------------------------------------------------
>
>                 Key: FELIX-756
>                 URL: https://issues.apache.org/jira/browse/FELIX-756
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: felix-1.2.2
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>
> In certain cases it might be desirable to override built-in URLStreamHandlers with services
provided by bundles. As of now, the spec doesn't allow this (see 11.3.2 ff) but it might in
the future. Furthermore, it looks like other implementations are less strict on this issue
as we are. For now, the best one can do is to put handlers in the classpath of the framework
and make them available via the java.protocol.handler.pkgs properties. This way, one can override
the built-in handlers but needs control over the jvm (which is not the best solution). 
> It should be possible to add an option to felix that will register handlers that proxy
the built-in ones but prefer registered URLStreamHandler services if there is one available
for a given schema. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message