Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65B091155B for ; Mon, 9 Jun 2014 20:01:04 +0000 (UTC) Received: (qmail 10526 invoked by uid 500); 9 Jun 2014 20:01:03 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 10399 invoked by uid 500); 9 Jun 2014 20:01:03 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 10308 invoked by uid 99); 9 Jun 2014 20:01:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2014 20:01:03 +0000 Date: Mon, 9 Jun 2014 20:01:03 +0000 (UTC) From: "Rob Walker (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-4528) Felix properties cannot be used in unsigned JNLP files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-4528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025660#comment-14025660 ] Rob Walker commented on FELIX-4528: ----------------------------------- You can, in fact that would be what we'll need to do without this. Bottom line is though, without this, a plain/vanilla Felix will never be Web Start able without a separate external launcher. Seems like kind of a shame if that is the case for the sake of a 1 line change. > Felix properties cannot be used in unsigned JNLP files > ------------------------------------------------------ > > Key: FELIX-4528 > URL: https://issues.apache.org/jira/browse/FELIX-4528 > Project: Felix > Issue Type: Improvement > Components: Framework > Environment: java 7u45 and later > Reporter: Rob Walker > Assignee: Rob Walker > Priority: Minor > Attachments: sec_action.patch > > > Unsigned JNLP files are required for most real world cases - especially those with dynamic deployment needs where the host URL cannot be known in advance. > To use System properties in unsigned JNLP files they must be prefixed with "jnlp." - which effectively renders all current Felix properties unusable. > Attached is a patch with one implementation approach for this - a mod to SecureAction to check for a "jnlp," version of a property before falling back to System properties or the supplied default. > An alternative would be additional init code in Felix or FelixConstants to test each property that we wish to expose to JNLP files and push any non-null value into System properties. This would be more transparent, but also more maintenance whenever new FelixConstants are added. -- This message was sent by Atlassian JIRA (v6.2#6252)