Class SensitiveUtils

java.lang.Object
org.apache.camel.util.SensitiveUtils

public final class SensitiveUtils extends Object
  • Method Details

    • getSensitiveKeys

      public static Set<String> getSensitiveKeys()
      All the sensitive keys (unmodifiable) in lower-case
    • getSensitivePattern

      public static String getSensitivePattern()
      All the sensitive keys (unmodifiable) in lower-case for regular expression matching
    • containsSensitive

      public static boolean containsSensitive(String text)
      Whether the given configuration property contains a sensitive key (such as password, accesstoken, etc.)
      Parameters:
      text - the configuration property
      Returns:
      true if sensitive, false otherwise