Package com.xebialabs.xlrelease.utils
Class SensitiveValueScrubber
- java.lang.Object
-
- com.xebialabs.xlrelease.utils.SensitiveValueScrubber
-
public class SensitiveValueScrubber extends java.lang.ObjectA collection of values that need to be removed from the logs. The black-listed values come from passwords and other sensitive values used in non-password fields.
-
-
Constructor Summary
Constructors Constructor Description SensitiveValueScrubber(java.util.Set<java.lang.String> variablesUsed, java.util.Map<java.lang.String,java.lang.String> variableMap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SensitiveValueScrubberdisabled()The scrubber won't attempt to clean anything because there is nothing to scrub in this case.java.lang.StringscrubValues(java.lang.String original)java.lang.StringtoString()
-
-
-
Method Detail
-
disabled
public static SensitiveValueScrubber disabled()
The scrubber won't attempt to clean anything because there is nothing to scrub in this case.- Returns:
- a null object instance
-
scrubValues
public java.lang.String scrubValues(java.lang.String original)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-