Class Sanitizer
- java.lang.Object
- org.springframework.boot.actuate.endpoint.Sanitizer
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
sanitize(String key, Object value)
Sanitize the given value if necessary.void
setKeysToSanitize(String... keysToSanitize)
Keys that should be sanitized.
Method Detail
setKeysToSanitize
public void setKeysToSanitize(String... keysToSanitize)
Keys that should be sanitized. Keys can be simple strings that the property ends with or regular expressions.- Parameters:
keysToSanitize
- the keys to sanitize