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());