Package org.apache.camel.util
Class SensitiveUtils
java.lang.Object
org.apache.camel.util.SensitiveUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
containsSensitive
(String text) Whether the given configuration property contains a sensitive key (such as password, accesstoken, etc.)All the sensitive keys (unmodifiable) in lower-casestatic String
All the sensitive keys (unmodifiable) in lower-case for regular expression matching
-
Method Details
-
getSensitiveKeys
All the sensitive keys (unmodifiable) in lower-case -
getSensitivePattern
All the sensitive keys (unmodifiable) in lower-case for regular expression matching -
containsSensitive
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
-