Return-Path: Delivered-To: apmail-jakarta-velocity-dev-archive@apache.org Received: (qmail 99083 invoked from network); 2 May 2002 12:37:42 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 May 2002 12:37:42 -0000 Received: (qmail 4281 invoked by uid 97); 2 May 2002 12:24:10 -0000 Delivered-To: qmlist-jakarta-archive-velocity-dev@nagoya.betaversion.org Received: (qmail 4273 invoked by alias); 2 May 2002 12:24:10 -0000 Delivered-To: jakarta-archive-velocity-dev@jakarta.apache.org Received: (qmail 4257 invoked by uid 97); 2 May 2002 12:24:09 -0000 Mailing-List: contact velocity-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Velocity Developers List" Reply-To: "Velocity Developers List" Delivered-To: mailing list velocity-dev@jakarta.apache.org Received: (qmail 4244 invoked by uid 98); 2 May 2002 12:24:09 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Thu, 02 May 2002 08:20:47 -0400 From: "Geir Magnusson Jr." Subject: Re: They used Velocity (www.onjava.com) In-reply-to: To: Velocity Developer's List Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Microsoft-Entourage/10.0.0.1309 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On 5/2/02 7:47 AM, "Paulo Gaspar" wrote: >> How are you restricting access to the ClassLoader? We've been >> worrying about $ref.getClass().getClassLoader() ... >> >> I'm unsure how to draft a policy file which only applies to Velocity. > > Well, that is not a problem at my company. > > But you probably could use the new custom introspection to take care > of that. > > (Right Geir???) > :) Yes, actually. I am using it in Jexl to do that exact thing - constrain introspection from getting any method of Object except toString(). That nips a good bit of it. I'll roll that back into velocity/contrib when done. -- Geir Magnusson Jr. geirm@optonline.net System and Software Consulting Java : the speed of Smalltalk with the simple elegance of C++... -- To unsubscribe, e-mail: For additional commands, e-mail: