Add the following public methods to LoggingInterceptor class:
getUserPrefix
getDisabledMasking
getMaskingPlaceholder
getMask
Motivation and Context
Setter methods are already provided for the related fields and usually, getters should be also provided by the class. For instance, it can be useful to retrieve the masking placeholder to apply it for masking other sensitive data, not handled by this interceptor.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
Add the following public methods to
LoggingInterceptor
class:getUserPrefix
getDisabledMasking
getMaskingPlaceholder
getMask
Motivation and Context
Setter methods are already provided for the related fields and usually, getters should be also provided by the class. For instance, it can be useful to retrieve the masking placeholder to apply it for masking other sensitive data, not handled by this interceptor.
Types of changes