Skip to content

Make it easier to add a SanitizingFunction to mask properties with specific names #39243

Closed
@philwebb

Description

@philwebb

See #39094 (comment) for details.

We removed default sanitization in #33448 but didn't offer an easy way for those that were happy with that approach to apply it again. This means that a lot users will be copying similar code.

A couple of options that come to mind are:

  • A property that contains property names that should be sanitized
  • A factory method on SanitizingFunction that makes it easier to create a @Bean

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions