jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1456088 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AbstractEvaluationTest.java
Date Wed, 13 Mar 2013 19:04:06 GMT
Author: angela
Date: Wed Mar 13 19:04:06 2013
New Revision: 1456088

URL: http://svn.apache.org/r1456088
Log:
OAK-51 : Access Control Management (WIP, login test session only after changes have been persisted)

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AbstractEvaluationTest.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AbstractEvaluationTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AbstractEvaluationTest.java?rev=1456088&r1=1456087&r2=1456088&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AbstractEvaluationTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AbstractEvaluationTest.java
Wed Mar 13 19:04:06 2013
@@ -93,9 +93,6 @@ public abstract class AbstractEvaluation
         creds = new SimpleCredentials(uid, uid.toCharArray());
         testUser = uMgr.createUser(uid, uid);
 
-        testSession = getTestSession();
-        testAcMgr = getAccessControlManager(testSession);
-
         // create some nodes below the test root in order to apply ac-stuff
         Node node = testRootNode.addNode(nodeName1, testNodeType);
         Node cn1 = node.addNode(nodeName2, testNodeType);
@@ -112,6 +109,9 @@ public abstract class AbstractEvaluation
         childchildPPath = ccp1.getPath();
         siblingPath = n2.getPath();
 
+        testSession = getTestSession();
+        testAcMgr = getAccessControlManager(testSession);
+
         /*
         precondition:
         testuser must have READ-only permission on test-node and below



Mime
View raw message