Skip to content

Commit

Permalink
update list of restricted classes
Browse files Browse the repository at this point in the history
  • Loading branch information
wglasshusain committed Jul 17, 2020
1 parent 3e28c5f commit 1590905
Showing 1 changed file with 11 additions and 1 deletion.
Expand Up @@ -220,9 +220,13 @@ runtime.conversion.handler.class = org.apache.velocity.util.introspection.TypeCo
# accessed.
# ----------------------------------------------------------------------------

# Prohibit reflection
introspector.restrict.packages = java.lang.reflect

## ClassLoader, Thread, and subclasses disabled by default in SecureIntrospectorImpl
# ClassLoader, Thread, and subclasses disabled by default in SecureIntrospectorImpl

# Restrict these system classes. Note that anything in this list is matched exactly.
# (Subclasses must be explicitly named to be included).

introspector.restrict.classes = java.lang.Class
introspector.restrict.classes = java.lang.Compiler
Expand All @@ -236,6 +240,12 @@ introspector.restrict.classes = java.lang.System
introspector.restrict.classes = java.lang.ThreadGroup
introspector.restrict.classes = java.lang.ThreadLocal

# Restrict instance managers for common servlet containers (Tomcat, JBoss, Jetty)

introspector.restrict.classes = org.apache.catalina.core.DefaultInstanceManager
introspector.restrict.classes = org.wildfly.extension.undertow.deployment.UndertowJSPInstanceManager
introspector.restrict.classes = org.eclipse.jetty.util.DecoratedObjectFactory

# ----------------------------------------------------------------------------
# SPACE GOBBLING
# ----------------------------------------------------------------------------
Expand Down

0 comments on commit 1590905

Please sign in to comment.