Class PropertyMaskingOptions

java.lang.Object
org.kiwiproject.json.PropertyMaskingOptions

public class PropertyMaskingOptions extends Object
  • Method Details

    • builder

    • getMaskedFieldRegexps

      @NonNull public @NonNull List<String> getMaskedFieldRegexps()
      Regular expressions that define that field names to be masked, e.g. .*password.* (note the comparisons will be case-insensitive). Must not be null, but can be empty. Default is empty.
    • getMaskedFieldReplacementText

      public String getMaskedFieldReplacementText()
      The replacement text for masked field values. Can be null.
    • getSerializationErrorReplacementText

      public String getSerializationErrorReplacementText()
      The replacement text for serialization errors. Can be null.