org.apache.velocity.util.introspection
Interface SecureIntrospectorControl

All Known Implementing Classes:
SecureIntrospectorImpl

public interface SecureIntrospectorControl

Interface used to determine which methods are allowed to be executed.

Since:
1.5
Version:
$Id: SecureIntrospectorControl.java 685685 2008-08-13 21:43:27Z nbubna $
Author:
wglass@forio.com

Method Summary
 boolean checkObjectExecutePermission(Class clazz, String method)
          Determine which methods and classes to prevent from executing.
 

Method Detail

checkObjectExecutePermission

boolean checkObjectExecutePermission(Class clazz,
                                     String method)
Determine which methods and classes to prevent from executing.

Parameters:
clazz - Class for which method is being called
method - method being called. This may be null in the case of a call to iterator, get, or set method
Returns:
true if method may be called on object


Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.