You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to disable the creation of jsonBodyFieldsFilter from LogbookAutoConfiguration so I am able to create my own BodyFilter which allows for a more flexible obfuscation (such as partial obfuscation) of the fields declared in logbook.obfuscate.json-body-fields instead of using a fixed replacement. The filter can be any implementation of BodyFilter.
Not sure whether this can be considered a bug or a feature. Perhaps a possible fix would be introducing @ConditionalOnProperty where we can define a property to disable it?
Version used: 3.9.0
The text was updated successfully, but these errors were encountered:
I happen to come across this issue, and I've asked in discussion something that seems similar: #1840.
Just linking this here, because I think you're asking for even more flexibility, which seems to be even better than having a fallback to BodyFilter.none().
I would like to disable the creation of
jsonBodyFieldsFilter
fromLogbookAutoConfiguration
so I am able to create my ownBodyFilter
which allows for a more flexible obfuscation (such as partial obfuscation) of the fields declared inlogbook.obfuscate.json-body-fields
instead of using a fixed replacement. The filter can be any implementation ofBodyFilter
.Not sure whether this can be considered a bug or a feature. Perhaps a possible fix would be introducing
@ConditionalOnProperty
where we can define a property to disable it?The text was updated successfully, but these errors were encountered: