Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 46478 invoked from network); 11 Dec 2007 16:48:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2007 16:48:06 -0000 Received: (qmail 22794 invoked by uid 500); 11 Dec 2007 16:47:54 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 22783 invoked by uid 500); 11 Dec 2007 16:47:54 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 22774 invoked by uid 99); 11 Dec 2007 16:47:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 08:47:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 16:48:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4A6B671422C for ; Tue, 11 Dec 2007 08:47:43 -0800 (PST) Message-ID: <19617136.1197391663302.JavaMail.jira@brutus> Date: Tue, 11 Dec 2007 08:47:43 -0800 (PST) From: "Ian Roberts (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Updated: (CXF-1290) SecurityException in FileUtils.getDefaultTempDir In-Reply-To: <20736969.1197391543037.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ian Roberts updated CXF-1290: ----------------------------- Attachment: FileUtils.diff Patch to FileUtils.java > SecurityException in FileUtils.getDefaultTempDir > ------------------------------------------------ > > Key: CXF-1290 > URL: https://issues.apache.org/jira/browse/CXF-1290 > Project: CXF > Issue Type: Bug > Affects Versions: 2.0.3 > Reporter: Ian Roberts > Priority: Minor > Attachments: FileUtils.diff > > > FileUtils.getDefaultTempDir looks for a system property giving the CXF temporary directory name. I am using CXF to call a web service from an application running under Java Web Start, which therefore doesn't have permission to access this system property and throws an AccessControlException. > The attached patch changes this so that rather than throw the exception, getDefaultTempDir treats such a permission failure the same way as if the system property were not set and generates a sensible value itself. > (observed in 2.0.3, but the method in question is the same in the svn trunk) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.