/** * The only known restriction is: * <pre> * rep:glob (optional) value-type: STRING * </pre> * * @see org.apache.jackrabbit.api.security.JackrabbitAccessControlList#addEntry(Principal, Privilege[], boolean, Map) */ public boolean addEntry(Principal principal, Privilege[] privileges, boolean isAllow, Map<String, Value> restrictions) throws AccessControlException, RepositoryException { checkValidEntry(principal, privileges, isAllow, restrictions); Entry ace = createEntry(principal, privileges, isAllow, restrictions); return internalAdd(ace); }
/** * The only known restriction is: * <pre> * rep:glob (optional) value-type: STRING * </pre> * * @see org.apache.jackrabbit.api.security.JackrabbitAccessControlList#addEntry(Principal, Privilege[], boolean, Map) */ public boolean addEntry(Principal principal, Privilege[] privileges, boolean isAllow, Map<String, Value> restrictions) throws AccessControlException, RepositoryException { checkValidEntry(principal, privileges, isAllow, restrictions); Entry ace = createEntry(principal, privileges, isAllow, restrictions); return internalAdd(ace); }