This commit is contained in:
Phillip Webb
2016-02-06 14:52:03 -08:00
parent ed01ae9ebf
commit 516afcd2ca
8 changed files with 20 additions and 18 deletions

View File

@@ -35,8 +35,11 @@ class Sanitizer {
private Pattern[] keysToSanitize;
Sanitizer() {
setKeysToSanitize("password", "secret", "key", ".*credentials.*",
"vcap_services");
this("password", "secret", "key", ".*credentials.*", "vcap_services");
}
Sanitizer(String... keysToSanitize) {
setKeysToSanitize(keysToSanitize);
}
/**