jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r397828 - /jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/ItemResourceConstants.java
Date Fri, 28 Apr 2006 09:35:47 GMT
Author: angela
Date: Fri Apr 28 02:35:46 2006
New Revision: 397828

URL: http://svn.apache.org/viewcvs?rev=397828&view=rev
Log:
constants for JCR specific privileges

Modified:
    jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/ItemResourceConstants.java

Modified: jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/ItemResourceConstants.java
URL: http://svn.apache.org/viewcvs/jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/ItemResourceConstants.java?rev=397828&r1=397827&r2=397828&view=diff
==============================================================================
--- jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/ItemResourceConstants.java
(original)
+++ jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/ItemResourceConstants.java
Fri Apr 28 02:35:46 2006
@@ -20,6 +20,7 @@
 import org.apache.jackrabbit.webdav.observation.ObservationResource;
 import org.apache.jackrabbit.webdav.property.DavPropertyName;
 import org.apache.jackrabbit.webdav.search.SearchResource;
+import org.apache.jackrabbit.webdav.security.Privilege;
 import org.apache.jackrabbit.webdav.version.DeltaVResource;
 import org.apache.jackrabbit.webdav.xml.Namespace;
 
@@ -138,4 +139,22 @@
 
     // property names used for resource representing a version hisotry
     public static final DavPropertyName JCR_VERSIONABLEUUID = DavPropertyName.create("versionableuuid",
NAMESPACE);
+
+    //-----------------------------------------< JSR170 specific privileges >---
+    /**
+     * Privilege representing the JSR170 'read' action.
+     */
+    public static final Privilege PRIVILEGE_JCR_READ = Privilege.getPrivilege("read", NAMESPACE);
+    /**
+     * Privilege representing the JSR170 'add_node' action.
+     */
+    public static final Privilege PRIVILEGE_JCR_ADD_NODE = Privilege.getPrivilege("add_node",
NAMESPACE);
+    /**
+     * Privilege representing the JSR170 'set_property' action.
+     */
+    public static final Privilege PRIVILEGE_JCR_SET_PROPERTY = Privilege.getPrivilege("set_property",
NAMESPACE);
+    /**
+     * Privilege representing the JSR170 'remove' action.
+     */
+    public static final Privilege PRIVILEGE_JCR_REMOVE = Privilege.getPrivilege("remove",
NAMESPACE);
 }



Mime
View raw message