Drop the use of the term "white list"

Closes gh-21737
This commit is contained in:
Phillip Webb 2020-06-07 10:21:22 -07:00
parent d4c8fa9b2a
commit 70e0a27949
3 changed files with 5 additions and 6 deletions

View File

@ -60,7 +60,7 @@ public abstract class AbstractViewResolverProperties {
private Charset charset = DEFAULT_CHARSET;
/**
* White list of view names that can be resolved.
* The view names that can be resolved.
*/
private String[] viewNames;

View File

@ -158,8 +158,7 @@ public class TomcatWebServerFactoryCustomizer
if (StringUtils.hasLength(remoteIpHeader)) {
valve.setRemoteIpHeader(remoteIpHeader);
}
// The internal proxies default to a white list of "safe" internal IP
// addresses
// The internal proxies default to a list of "safe" internal IP addresses
valve.setInternalProxies(tomcatProperties.getInternalProxies());
valve.setPortHeader(tomcatProperties.getPortHeader());
valve.setProtocolHeaderHttpsValue(tomcatProperties.getProtocolHeaderHttpsValue());

View File

@ -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.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.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])
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.
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.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.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.
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.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.async.request-timeout= # Amount of time before asynchronous request handling times out.