jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1569523 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/AccessControlEntryImpl.java
Date Tue, 18 Feb 2014 20:42:11 GMT
Author: angela
Date: Tue Feb 18 20:42:11 2014
New Revision: 1569523

URL: http://svn.apache.org/r1569523
Log:
    JCR-3728

AbstractAccessControlEntryImpl: add proper implementation for getRestrictions

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/AccessControlEntryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/AccessControlEntryImpl.java?rev=1569523&r1=1569522&r2=1569523&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/AccessControlEntryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authorization/AccessControlEntryImpl.java
Tue Feb 18 20:42:11 2014
@@ -304,7 +304,7 @@ public abstract class AccessControlEntry
      * @see org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry#getRestrictions(String)
      */
     public Value[] getRestrictions(String restrictionName) throws RepositoryException {
-        throw new UnsupportedRepositoryOperationException("Not implemented. Please use Jackrabbit
OAK to get support for multi-valued restrictions.");
+        return new Value[] {getRestriction(restrictionName)};
     }
 
     //-------------------------------------------------------------< Object >---



Mime
View raw message