File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -66,13 +66,10 @@ NOTE: When `show-values` is set to `ALWAYS` or `WHEN_AUTHORIZED` any sanitizatio
66
66
67
67
[[howto.actuator.sanitize-sensitive-values.customizing-sanitization]]
68
68
==== Customizing Sanitization
69
- Sanitization can be customized in two different ways.
70
-
71
- To take more control over the sanitization, define a `SanitizingFunction` bean.
69
+ To take control over the sanitization, define a `SanitizingFunction` bean.
72
70
The `SanitizableData` with which the function is called provides access to the key and value as well as the `PropertySource` from which they came.
73
71
This allows you to, for example, sanitize every value that comes from a particular property source.
74
72
Each `SanitizingFunction` is called in order until a function changes the value of the sanitizable data.
75
- If no function changes its value, the built-in key-based sanitization is performed.
76
73
77
74
78
75
You can’t perform that action at this time.
0 commit comments