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.

Version:
$Id: SecureIntrospectorControl.java 470261 2006-11-02 07:32:37Z wglass $
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-2007 The Apache Software Foundation. All Rights Reserved.