From dec6be9cff760014ac8258471c968e05874971d4 Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Sun, 10 Mar 2019 19:32:12 +0000 Subject: [engine][VELOCITY-909] Rename introspector.uberspect to introspector.uberspect.class git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855158 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/velocity/runtime/RuntimeConstants.java | 2 +- .../java/org/apache/velocity/util/introspection/SecureUberspector.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'velocity-engine-core/src/main/java/org/apache/velocity') 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; * *

To use this introspector, set the following property: *

- * runtime.introspector.uberspect = org.apache.velocity.util.introspection.SecureUberspector
+ * introspector.uberspect.class = org.apache.velocity.util.introspection.SecureUberspector
  * 
* * @author Will Glass-Husain -- cgit v1.2.3