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
checkObjectExecutePermission
boolean checkObjectExecutePermission(Class clazz,
String method)
- Determine which methods and classes to prevent from executing.
- Parameters:
clazz
- Class for which method is being calledmethod
- 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-2008 The Apache Software Foundation. All Rights Reserved.