Bug 41662 - Generating and validating signatures fails when run with a SecurityManager.
Summary: Generating and validating signatures fails when run with a SecurityManager.
Status: RESOLVED FIXED
Alias: None
Product: Security - Now in JIRA
Classification: Unclassified
Component: Signature (show other bugs)
Version: Java 1.3
Hardware: All other
: P3 normal
Target Milestone: ---
Assignee: XML Security Developers Mailing List
URL:
Keywords:
Depends on:
Blocks: 41731
  Show dependency tree
 
Reported: 2007-02-20 14:43 UTC by sean.mullan
Modified: 2007-06-18 08:56 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sean.mullan 2007-02-20 14:43:00 UTC
Generating and validating signatures fails when run with a SecurityManager.

There are a few places in the code (such as reading
system properties) that should be wrapped in
AccessController.doPrivileged blocks so that applications that normally
would not have these permissions can generate and validate signatures 
when run with a SecurityManager enabled.
Comment 1 sean.mullan 2007-06-18 08:56:50 UTC
Just fixed the other problem I was aware of (dereferencing http URIs should 
no longer require PropertyPermission). So I am marking this as fixed.