Merge branch '2.7.x'

This commit is contained in:
Andy Wilkinson
2022-03-03 14:48:03 +00:00
8 changed files with 98 additions and 20 deletions

View File

@@ -65,7 +65,8 @@ Alternatively, additional patterns can be configured using configprop:management
To take more control over the santization, define a `SanitizingFunction` bean.
The `SanitizableData` with which the function is called provides access to the key and value as well as the `PropertySource` from which they came.
This allows you to, for example, sanitize every value that comes from a particular property source.
Each `SanitizingFunction` is called before and in addition to the built-in key-based sanitization.
Each `SanitizingFunction` is called in order until a function changes the value of the santizable data.
If no function changes its value, the built-in key-based santization is performed.