Package org.kiwiproject.json
Class PropertyMaskingOptions
java.lang.Object
org.kiwiproject.json.PropertyMaskingOptions
Options for
PropertyMaskingSafePropertyWriter and KiwiJacksonSerializers.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Regular expressions that define that field names to be masked, e.g.The replacement text for masked field values.The replacement text for serialization errors.
-
Method Details
-
builder
-
getMaskedFieldRegexps
Regular expressions that define that field names to be masked, e.g..*password.*(note the comparisons will be case-insensitive). Must not benull, but can be empty. Default is empty. -
getMaskedFieldReplacementText
The replacement text for masked field values. Can benull. -
getSerializationErrorReplacementText
The replacement text for serialization errors. Can benull.
-