jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r720784 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/DefaultAccessManager.java
Date Wed, 26 Nov 2008 10:16:13 GMT
Author: angela
Date: Wed Nov 26 02:16:12 2008
New Revision: 720784

URL: http://svn.apache.org/viewvc?rev=720784&view=rev
Log:
confusing exception message

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/DefaultAccessManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/DefaultAccessManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/DefaultAccessManager.java?rev=720784&r1=720783&r2=720784&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/DefaultAccessManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/DefaultAccessManager.java
Wed Nov 26 02:16:12 2008
@@ -399,7 +399,7 @@
     protected void checkPrivileges(String absPath, int privileges) throws AccessDeniedException,
RepositoryException {
         checkValidNodePath(absPath);
         if (!internalHasPrivileges(absPath, privileges)) {
-            throw new AccessDeniedException("No privilege " + privileges + " at " + absPath);
+            throw new AccessDeniedException("Access denied at " + absPath);
         }
     }
 



Mime
View raw message