Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Masking security sensitive data in logging

Version 3.4.0 provides an option to mask security relevant information in logging.

LoggingFeature has two new methods:

  • addSensitiveElementNames(final Set<String> sensitiveElements); Configures names Configures names of sensitive XML and JSON elements, values to be masked.
  • addSensitiveProtocolHeaderNames(final Set<String> sensitiveProtocolHeaders); Configures Configures names of sensitive protocol headers, values to be masked.

After configuring these settings appropriate elements in XML and JSON and http protocol headers will be masked on server and client sides: