
|
If you were logged in you would be able to see more operations.
|
|
|
|
Issue Links:
|
Metabug
|
|
|
|
This issue surfaces in:
|
|
SFOS-495
for dynamic classloading, we need a way to set the security policy in the ant tasks, and a default one if none is provided
|
|
|
|
|
|
|
| Compatibility: |
may break builds or test process
|
|
The ant tasks don't set up a security manager; the shell scripts do. This is why security manager problems haven't been showing up in the tests. we should fix this with a security manager attribute, and the tests set up to point to that and the security policy.
This will break things
|
|
Description
|
The ant tasks don't set up a security manager; the shell scripts do. This is why security manager problems haven't been showing up in the tests. we should fix this with a security manager attribute, and the tests set up to point to that and the security policy.
This will break things |
Show » |
|
not found: "Warning: stack trace logging enabled" log was "org.smartfrog.sfcore.security.SFGeneralSecurityException: Java Security Access control exception - SmartFrog is running under a security manager, but the main JAR is not signed by a trusted CA, or the permissions files are mis-configured
java.security.AccessControlException: access denied (java.util.PropertyPermission java.rmi.server.RMIClassLoaderSpi write)
Security manager ExitTrappingRealSecurityManager, systemExitPermitted=false; class: class org.smartfrog.sfcore.security.ExitTrappingRealSecurityManager; exit trapping: true
Java System Properties:access to properties denied: java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write)
Environment variablss:access to environment variables denied: java.security.AccessControlException: access denied (java.lang.RuntimePermission getenv.*)
at org.smartfrog.sfcore.security.SFSecurity.initSecurity(SFSecurity.java:116)
at org.smartfrog.SFSystem.initSystem(SFSystem.java:640)
at org.smartfrog.SFSystem.execute(SFSystem.java:407)
at org.smartfrog.SFSystem.main(SFSystem.java:395)Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission java.rmi.server.RMIClassLoaderSpi write)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.System.setProperty(System.java:727)
at org.smartfrog.sfcore.security.SFSecurity.initSecurity(SFSecurity.java:113) ... 3 more Failed to initialize SmartFrog"
at org.smartfrog.tools.ant.test.TaskTestBase.assertInLog(TaskTestBase.java:123)
at org.smartfrog.tools.ant.test.system.RunTest.testStackTrace(RunTest.java:105)