[jboss-cvs] JBossAS SVN: r79390 - branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/naming/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 13 09:25:59 EDT 2008


Author: pskopek at redhat.com
Date: 2008-10-13 09:25:59 -0400 (Mon, 13 Oct 2008)
New Revision: 79390

Modified:
   branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/naming/test/SecurityUnitTestCase.java
Log:
New permission added to handle JNDI actions for tests.

Modified: branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/naming/test/SecurityUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/naming/test/SecurityUnitTestCase.java	2008-10-13 12:42:53 UTC (rev 79389)
+++ branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/naming/test/SecurityUnitTestCase.java	2008-10-13 13:25:59 UTC (rev 79390)
@@ -239,9 +239,16 @@
       }
       catch(NamingException ignore)
       {
+          getLog().error("YYYY", ignore);
       }
       getLog().debug("Creating readonly context");
+      try {
       bootCtx.createSubcontext("readonly");
+      }
+      catch (Exception e) {
+         getLog().error("XXXX", e);
+         throw new Exception(e);
+      }
       bootCtx.bind("readonly/data", "somedata");
 
       // Test access through the readonly proxy




More information about the jboss-cvs-commits mailing list