public final class Sanitizer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static <any> |
IS_SECRET_PREDICATE |
static java.util.List<java.lang.String> |
SECRET_NAMES
Names that, if they appear anywhere in an attribute/config/field
indicates that it may be private, so should not be logged etc.
|
Modifier and Type | Method and Description |
---|---|
<K> java.util.Map<K,java.lang.Object> |
apply(java.util.Map<K,?> input) |
static Sanitizer |
newInstance() |
static Sanitizer |
newInstance(<any> sanitizingNeededCheck) |
static java.util.Map<java.lang.String,java.lang.Object> |
sanitize(ConfigBag input) |
static <K> java.util.Map<K,java.lang.Object> |
sanitize(java.util.Map<K,?> input) |
public static final java.util.List<java.lang.String> SECRET_NAMES
public static final <any> IS_SECRET_PREDICATE
public static Sanitizer newInstance(<any> sanitizingNeededCheck)
public static Sanitizer newInstance()
public static java.util.Map<java.lang.String,java.lang.Object> sanitize(ConfigBag input)
public static <K> java.util.Map<K,java.lang.Object> sanitize(java.util.Map<K,?> input)
public <K> java.util.Map<K,java.lang.Object> apply(java.util.Map<K,?> input)