Class DefaultMessageSanitizer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String OBFUSCATED_STRING
      The obfuscated text that would be the replacement for sensitive text.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String sanitize​(java.lang.String msg)
      Sanitize string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OBFUSCATED_STRING

        public static final java.lang.String OBFUSCATED_STRING
        The obfuscated text that would be the replacement for sensitive text.
    • Constructor Detail

      • DefaultMessageSanitizer

        public DefaultMessageSanitizer()
    • Method Detail

      • sanitize

        public java.lang.String sanitize​(java.lang.String msg)
        Description copied from interface: MessageSanitizer
        Sanitize string.
        Specified by:
        sanitize in interface MessageSanitizer
        Parameters:
        msg - the msg
        Returns:
        the string