[exo-jcr-commits] exo-jcr SVN: r2648 - kernel/trunk/exo.kernel.commons.test/src/main/java/org/exoplatform/commons/test.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Jun 17 04:55:48 EDT 2010


Author: tolusha
Date: 2010-06-17 04:55:48 -0400 (Thu, 17 Jun 2010)
New Revision: 2648

Modified:
   kernel/trunk/exo.kernel.commons.test/src/main/java/org/exoplatform/commons/test/TestSecurityManager.java
Log:
EXOJCR-756: add RequestHandlerImpl in exclude for check permission 

Modified: kernel/trunk/exo.kernel.commons.test/src/main/java/org/exoplatform/commons/test/TestSecurityManager.java
===================================================================
--- kernel/trunk/exo.kernel.commons.test/src/main/java/org/exoplatform/commons/test/TestSecurityManager.java	2010-06-17 08:39:29 UTC (rev 2647)
+++ kernel/trunk/exo.kernel.commons.test/src/main/java/org/exoplatform/commons/test/TestSecurityManager.java	2010-06-17 08:55:48 UTC (rev 2648)
@@ -27,6 +27,7 @@
  */
 public class TestSecurityManager extends SecurityManager
 {
+
    /**
     * {@inheritDoc}
     */
@@ -60,6 +61,12 @@
                      return;
                   }
 
+                  // workaround for tests
+                  if (fileName.equals("RequestHandlerImpl.java"))
+                  {
+                     return;
+                  }
+
                   if (fileName.startsWith("Test") || fileName.endsWith("Test.java")
                      || fileName.endsWith("TestBase.java") || fileName.equals("Probe.java")
                      || fileName.equals("ExportBase.java"))



More information about the exo-jcr-commits mailing list