jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r828700 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/security/AccessManager.java
Date Thu, 22 Oct 2009 14:01:49 GMT
Author: angela
Date: Thu Oct 22 14:01:49 2009
New Revision: 828700

URL: http://svn.apache.org/viewvc?rev=828700&view=rev
Log:
use JCR 2.0 Session constants instead of hardcoded strings.

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/security/AccessManager.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/security/AccessManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/security/AccessManager.java?rev=828700&r1=828699&r2=828700&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/security/AccessManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/security/AccessManager.java
Thu Oct 22 14:01:49 2009
@@ -33,10 +33,10 @@
     /**
      * predefined action constants
      */
-    public String READ_ACTION = "read";
-    public String REMOVE_ACTION = "remove";
-    public String ADD_NODE_ACTION = "add_node";
-    public String SET_PROPERTY_ACTION = "set_property";
+    public String READ_ACTION = javax.jcr.Session.ACTION_READ;
+    public String REMOVE_ACTION = javax.jcr.Session.ACTION_REMOVE;
+    public String ADD_NODE_ACTION = javax.jcr.Session.ACTION_ADD_NODE;
+    public String SET_PROPERTY_ACTION = javax.jcr.Session.ACTION_SET_PROPERTY;
 
     public String[] READ = new String[] {READ_ACTION};
     public String[] REMOVE = new String[] {REMOVE_ACTION};



Mime
View raw message