jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1487517 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/AccessControlManagerImpl.java
Date Wed, 29 May 2013 15:39:45 GMT
Author: angela
Date: Wed May 29 15:39:45 2013
New Revision: 1487517

URL: http://svn.apache.org/r1487517
Log:
OAK-51 : Access Control Management (wip)

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/AccessControlManagerImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/AccessControlManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/AccessControlManagerImpl.java?rev=1487517&r1=1487516&r2=1487517&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/AccessControlManagerImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/AccessControlManagerImpl.java
Wed May 29 15:39:45 2013
@@ -808,15 +808,15 @@ public class AccessControlManagerImpl im
         }
     }
 
-    private static class ReadPolicy implements NamedAccessControlPolicy {
+    private static final class ReadPolicy implements NamedAccessControlPolicy {
 
         private static final NamedAccessControlPolicy INSTANCE = new ReadPolicy();
 
         private ReadPolicy() {}
 
         @Override
-        public String getName() throws RepositoryException {
-            return "Grants read access on configured trees (default: node types, namespaces
and privileges).";
+        public String getName() {
+            return "Grants read access on configured trees.";
         }
     }
 }



Mime
View raw message