Add AccessController.doPrivileged blocks to AbstractCrypto
----------------------------------------------------------
Key: WSS-159
URL: https://issues.apache.org/jira/browse/WSS-159
Project: WSS4J
Issue Type: Improvement
Components: WSS4J Core
Affects Versions: 1.5.5
Reporter: Colm O hEigeartaigh
Assignee: Colm O hEigeartaigh
Priority: Minor
Fix For: 1.5.6
AbstractCrypto has some code that will cause the SecurityManager to throw a
SecurityException if run in the java sandbox without the appropriate
permissions, e.g:
83: is = new FileInputStream(location);
112: String cacertsPath = System.getProperty("java.home") +
"/lib/security/cacerts";
This task involves wrapping these calls in an AccessControllder.doPrivileged
block.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]