Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 8688 invoked from network); 17 Mar 2009 22:32:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 22:32:32 -0000 Received: (qmail 51197 invoked by uid 500); 17 Mar 2009 22:32:32 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 51180 invoked by uid 500); 17 Mar 2009 22:32:32 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 51170 invoked by uid 99); 17 Mar 2009 22:32:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 15:32:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 22:32:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 42216234C4AD for ; Tue, 17 Mar 2009 15:31:51 -0700 (PDT) Message-ID: <1481834957.1237329111269.JavaMail.jira@brutus> Date: Tue, 17 Mar 2009 15:31:51 -0700 (PDT) From: "Maarten Coene (JIRA)" To: notifications@ant.apache.org Subject: [jira] Updated: (IVY-1015) Flag to disable System property lookups by Ivy In-Reply-To: <1365221942.1232835119534.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maarten Coene updated IVY-1015: ------------------------------- Fix Version/s: (was: trunk) 2.0.1 > Flag to disable System property lookups by Ivy > ---------------------------------------------- > > Key: IVY-1015 > URL: https://issues.apache.org/jira/browse/IVY-1015 > Project: Ivy > Issue Type: New Feature > Affects Versions: 1.0, 1.1, 1.2, 1.3, 1.3.1, 1.4, 1.4.1, 2.0.0-alpha-1, 2.0.0-alpha-2, 2.0.0-beta-1, 2.0.0-beta-2, 2.0-RC1, 2.0-RC2, 2.0 > Reporter: Jeffrey Sinclair > Assignee: Xavier Hanin > Fix For: 2.0.1 > > > When configuring Ivy through IvySettings, a call to System.getProperties() is made. > System property calls are typically disabled through the security manager in shared web containers which results in the following stack trace: > java.security.AccessControlException: access denied > (java.util.PropertyPermission * read,write) > java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) > java.security.AccessController.checkPermission(AccessController.java:546) > java.lang.SecurityManager.checkPermission(SecurityManager.java:532) > java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1252) > java.lang.System.getProperties(System.java:582) > org.apache.ivy.core.settings.IvySettings.addSystemProperties(IvySettings.java:294) > org.apache.ivy.core.settings.IvySettings.(IvySettings.java:290) > org.apache.ivy.core.settings.IvySettings.(IvySettings.java:212) > Since there is no out-of-the-box workaround, Ivy cannot be used in such an environment. > Ivy could be made more web app friendly by providing a flag to disable System property lookups. > It would be useful to configure this flag through API on the IvySettings class. > Any other usage of system properties outside of the IvySettings file should also be controllable. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.