jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1456087 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeManagerImpl.java
Date Wed, 13 Mar 2013 19:03:19 GMT
Author: angela
Date: Wed Mar 13 19:03:19 2013
New Revision: 1456087

URL: http://svn.apache.org/r1456087
Log:
OAK-51 : Access Control Management (WIP, mk tck happy)

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeManagerImpl.java?rev=1456087&r1=1456086&r2=1456087&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeManagerImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeManagerImpl.java
Wed Mar 13 19:03:19 2013
@@ -118,7 +118,7 @@ public class PrivilegeManagerImpl implem
     @Nonnull
     private String getOakName(String jcrName) throws RepositoryException {
         if (jcrName == null) {
-            throw new RepositoryException("Invalid privilege name 'null'");
+            throw new AccessControlException("Invalid privilege name 'null'");
         }
         return namePathMapper.getOakName(jcrName);
     }



Mime
View raw message