geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r669219 - /geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/ApplicationSecurityManager.java
Date Wed, 18 Jun 2008 16:55:47 GMT
Author: jdillon
Date: Wed Jun 18 09:55:47 2008
New Revision: 669219

URL: http://svn.apache.org/viewvc?rev=669219&view=rev
Log:
Disable checks for now, they are broken

Modified:
    geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/ApplicationSecurityManager.java

Modified: geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/ApplicationSecurityManager.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/ApplicationSecurityManager.java?rev=669219&r1=669218&r2=669219&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/ApplicationSecurityManager.java
(original)
+++ geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/ApplicationSecurityManager.java
Wed Jun 18 09:55:47 2008
@@ -57,6 +57,11 @@
         // TODO: See if there is a more efficent and/or recommended way to implement custom
permission handling
         //
 
+        //
+        // FIXME: These don't work as desired ATM, so disable and re-implement a little bit
later
+        //
+        
+        /*
         if (perm instanceof RuntimePermission) {
             // Prevent System.exit()
             if (perm.implies(new RuntimePermission("exitVM"))) {
@@ -75,6 +80,7 @@
                 throw new SecurityException();
             }
         }
+        */
         
         if (parent != null) {
             parent.checkPermission(perm);



Mime
View raw message