Fix wrong property reference to keys-to-sanitize in Javadoc

See gh-21906
This commit is contained in:
lltx
2020-06-13 12:43:21 +08:00
committed by Stephane Nicoll
parent 209c5c4013
commit de897b9b72

View File

@@ -71,8 +71,9 @@ import org.springframework.util.StringUtils;
* <p>
* To protect sensitive information from being exposed, certain property values are masked
* if their names end with a set of configurable values (default "password" and "secret").
* Configure property names by using {@code endpoints.configprops.keys_to_sanitize} in
* your Spring Boot application configuration.
* Configure property names by using
* {@code management.endpoint.configprops.keys-to-sanitize} in your Spring Boot
* application configuration.
*
* @author Christian Dupuis
* @author Dave Syer