Set comma separate list of classes not allowed to be used by javascript templates
Type: string Default: ""
Java Code:
ConfigurationProperties.javascriptDisallowedClasses(String javascriptDisallowedClasses)
System Property:
-Dmockserver.javascriptDisallowedClasses=...
Environment Variable:
MOCKSERVER_JAVASCRIPT_DISALLOWED_CLASSES=...
Property File:
mockserver.javascriptDisallowedClasses=...
Example:
-Dmockserver.javascriptDisallowedClasses="java.lang.Runtime,java.lang.Class"
Set comma separate list of text not allowed to be contained in javascript templates
Type: string Default: ""
Java Code:
ConfigurationProperties.javascriptDisallowedText(String javascriptDisallowedText)
System Property:
-Dmockserver.javascriptDisallowedText=...
Environment Variable:
MOCKSERVER_JAVASCRIPT_DISALLOWED_TEXT=...
Property File:
mockserver.javascriptDisallowedText=...
Example:
-Dmockserver.javascriptDisallowedText="getRuntime().exec"
If true class loading is not allowed in velocity templates
Type: boolean Default: false
Java Code:
ConfigurationProperties.velocityDisallowClassLoading(boolean velocityDisallowClassLoading)
System Property:
-Dmockserver.velocityDisallowClassLoading=...
Environment Variable:
MOCKSERVER_VELOCITY_DISALLOW_CLASS_LOADING=...
Property File:
mockserver.velocityDisallowClassLoading=...
Example:
-Dmockserver.velocityDisallowClassLoading="true"
Set comma separate list of text not allowed to be contained in velocity templates
Type: string Default: ""
Java Code:
ConfigurationProperties.velocityDisallowedText(String velocityDisallowedText)
System Property:
-Dmockserver.velocityDisallowedText=...
Environment Variable:
MOCKSERVER_VELOCITY_DISALLOWED_TEXT=...
Property File:
mockserver.velocityDisallowedText=...
Example:
-Dmockserver.velocityDisallowedText="request.class"
Set comma separate list of text not allowed to be contained in mustache templates
Type: string Default: ""
Java Code:
ConfigurationProperties.mustacheDisallowedText(String mustacheDisallowedText)
System Property:
-Dmockserver.mustacheDisallowedText=...
Environment Variable:
MOCKSERVER_MUSTACHE_DISALLOWED_TEXT=...
Property File:
mockserver.mustacheDisallowedText=...
Example:
-Dmockserver.mustacheDisallowedText="request.method"