You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2007/12/14 22:13:43 UTC
[jira] Resolved: (CXF-1290) SecurityException in
FileUtils.getDefaultTempDir
[ https://issues.apache.org/jira/browse/CXF-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1290.
------------------------------
Resolution: Fixed
Fix Version/s: 2.0.4
Assignee: Daniel Kulp
> 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
> Assignee: Daniel Kulp
> Priority: Minor
> Fix For: 2.0.4
>
> 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.