diff options
Diffstat (limited to 'velocity-engine-core/src/main/java/org/apache')
2 files changed, 2 insertions, 2 deletions
diff --git a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java index 28e96ac1..830f5f80 100644 --- a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java +++ b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java @@ -317,7 +317,7 @@ public interface RuntimeConstants extends DeprecatedRuntimeConstants */ /** key name for uberspector. Multiple classnames can be specified,in which case uberspectors will be chained. */ - String UBERSPECT_CLASSNAME = "introspector.uberspect"; + String UBERSPECT_CLASSNAME = "introspector.uberspect.class"; /** A comma separated list of packages to restrict access to in the SecureIntrospector. */ String INTROSPECTOR_RESTRICT_PACKAGES = "introspector.restrict.packages"; diff --git a/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java b/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java index 590f8126..89d25b4d 100644 --- a/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java +++ b/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java @@ -31,7 +31,7 @@ import java.util.Iterator; * * <p>To use this introspector, set the following property: * <pre> - * runtime.introspector.uberspect = org.apache.velocity.util.introspection.SecureUberspector + * introspector.uberspect.class = org.apache.velocity.util.introspection.SecureUberspector * </pre> * * @author <a href="mailto:wglass@forio.com">Will Glass-Husain</a> |