Commit 70e0a279 authored by Phillip Webb's avatar Phillip Webb

Drop the use of the term "white list"

Closes gh-21737
parent d4c8fa9b
...@@ -60,7 +60,7 @@ public abstract class AbstractViewResolverProperties { ...@@ -60,7 +60,7 @@ public abstract class AbstractViewResolverProperties {
private Charset charset = DEFAULT_CHARSET; private Charset charset = DEFAULT_CHARSET;
/** /**
* White list of view names that can be resolved. * The view names that can be resolved.
*/ */
private String[] viewNames; private String[] viewNames;
......
...@@ -158,8 +158,7 @@ public class TomcatWebServerFactoryCustomizer ...@@ -158,8 +158,7 @@ public class TomcatWebServerFactoryCustomizer
if (StringUtils.hasLength(remoteIpHeader)) { if (StringUtils.hasLength(remoteIpHeader)) {
valve.setRemoteIpHeader(remoteIpHeader); valve.setRemoteIpHeader(remoteIpHeader);
} }
// The internal proxies default to a white list of "safe" internal IP // The internal proxies default to a list of "safe" internal IP addresses
// addresses
valve.setInternalProxies(tomcatProperties.getInternalProxies()); valve.setInternalProxies(tomcatProperties.getInternalProxies());
valve.setPortHeader(tomcatProperties.getPortHeader()); valve.setPortHeader(tomcatProperties.getPortHeader());
valve.setProtocolHeaderHttpsValue(tomcatProperties.getProtocolHeaderHttpsValue()); valve.setProtocolHeaderHttpsValue(tomcatProperties.getProtocolHeaderHttpsValue());
......
...@@ -316,7 +316,7 @@ Rather, pick only the properties that you need. ...@@ -316,7 +316,7 @@ Rather, pick only the properties that you need.
spring.freemarker.settings.*= # Well-known FreeMarker keys which are passed to FreeMarker's Configuration. spring.freemarker.settings.*= # Well-known FreeMarker keys which are passed to FreeMarker's Configuration.
spring.freemarker.suffix=.ftl # Suffix that gets appended to view names when building a URL. spring.freemarker.suffix=.ftl # Suffix that gets appended to view names when building a URL.
spring.freemarker.template-loader-path=classpath:/templates/ # Comma-separated list of template paths. spring.freemarker.template-loader-path=classpath:/templates/ # Comma-separated list of template paths.
spring.freemarker.view-names= # White list of view names that can be resolved. spring.freemarker.view-names= # The view names that can be resolved.
# GROOVY TEMPLATES ({spring-boot-autoconfigure-module-code}/groovy/template/GroovyTemplateProperties.java[GroovyTemplateProperties]) # GROOVY TEMPLATES ({spring-boot-autoconfigure-module-code}/groovy/template/GroovyTemplateProperties.java[GroovyTemplateProperties])
spring.groovy.template.allow-request-override=false # Whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name. spring.groovy.template.allow-request-override=false # Whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name.
...@@ -334,7 +334,7 @@ Rather, pick only the properties that you need. ...@@ -334,7 +334,7 @@ Rather, pick only the properties that you need.
spring.groovy.template.request-context-attribute= # Name of the RequestContext attribute for all views. spring.groovy.template.request-context-attribute= # Name of the RequestContext attribute for all views.
spring.groovy.template.resource-loader-path=classpath:/templates/ # Template path. spring.groovy.template.resource-loader-path=classpath:/templates/ # Template path.
spring.groovy.template.suffix=.tpl # Suffix that gets appended to view names when building a URL. spring.groovy.template.suffix=.tpl # Suffix that gets appended to view names when building a URL.
spring.groovy.template.view-names= # White list of view names that can be resolved. spring.groovy.template.view-names= # The view names that can be resolved.
# SPRING HATEOAS ({spring-boot-autoconfigure-module-code}/hateoas/HateoasProperties.java[HateoasProperties]) # SPRING HATEOAS ({spring-boot-autoconfigure-module-code}/hateoas/HateoasProperties.java[HateoasProperties])
spring.hateoas.use-hal-as-default-json-media-type=true # Whether application/hal+json responses should be sent to requests that accept application/json. spring.hateoas.use-hal-as-default-json-media-type=true # Whether application/hal+json responses should be sent to requests that accept application/json.
...@@ -422,7 +422,7 @@ Rather, pick only the properties that you need. ...@@ -422,7 +422,7 @@ Rather, pick only the properties that you need.
spring.mustache.prefix=classpath:/templates/ # Prefix to apply to template names. spring.mustache.prefix=classpath:/templates/ # Prefix to apply to template names.
spring.mustache.request-context-attribute= # Name of the RequestContext attribute for all views. spring.mustache.request-context-attribute= # Name of the RequestContext attribute for all views.
spring.mustache.suffix=.mustache # Suffix to apply to template names. spring.mustache.suffix=.mustache # Suffix to apply to template names.
spring.mustache.view-names= # White list of view names that can be resolved. spring.mustache.view-names= # The view names that can be resolved.
# SPRING MVC ({spring-boot-autoconfigure-module-code}/web/servlet/WebMvcProperties.java[WebMvcProperties]) # SPRING MVC ({spring-boot-autoconfigure-module-code}/web/servlet/WebMvcProperties.java[WebMvcProperties])
spring.mvc.async.request-timeout= # Amount of time before asynchronous request handling times out. spring.mvc.async.request-timeout= # Amount of time before asynchronous request handling times out.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment