jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1375038 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidatorProvider.java
Date Mon, 20 Aug 2012 14:37:24 GMT
Author: angela
Date: Mon Aug 20 14:37:23 2012
New Revision: 1375038

URL: http://svn.apache.org/viewvc?rev=1375038&view=rev
Log:
OAK-64 : Privilege Management  (WIP)

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidatorProvider.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidatorProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidatorProvider.java?rev=1375038&r1=1375037&r2=1375038&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidatorProvider.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeValidatorProvider.java
Mon Aug 20 14:37:23 2012
@@ -29,7 +29,9 @@ import static org.apache.jackrabbit.JcrC
 import static org.apache.jackrabbit.oak.security.privilege.PrivilegeConstants.REP_PRIVILEGES;
 
 /**
- * PrivilegeValidatorProvider... TODO
+ * {@code PrivilegeValidatorProvider} to construct a {@code Validator} instance
+ * to make sure modifications to the /jcr:system/rep:privileges tree are compliant
+ * with constraints applied for custom privileges.
  */
 public class PrivilegeValidatorProvider implements ValidatorProvider {
 
@@ -42,7 +44,6 @@ public class PrivilegeValidatorProvider 
     @Nonnull
     @Override
     public Validator getRootValidator(NodeState before, NodeState after) {
-        // TODO check again...
         return new SubtreeValidator(new PrivilegeValidator(valueFactory, new ReadOnlyTree(before)),
JCR_SYSTEM, REP_PRIVILEGES);
     }
 }
\ No newline at end of file



Mime
View raw message