aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java2
-rw-r--r--velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java2
-rw-r--r--velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties2
3 files changed, 3 insertions, 3 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>
diff --git a/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties b/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties
index 14f85e4f..a96fc591 100644
--- a/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties
+++ b/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties
@@ -198,7 +198,7 @@ parser.pool.size = 20
# Allows alternative introspection and all that can of worms brings.
# ----------------------------------------------------------------------------
-introspector.uberspect = org.apache.velocity.util.introspection.UberspectImpl
+introspector.uberspect.class = org.apache.velocity.util.introspection.UberspectImpl
# ----------------------------------------------------------------------------
# CONVERSION HANDLER