public class ArgumentSanitizer extends Object
| Constructor and Description |
|---|
ArgumentSanitizer() |
| Modifier and Type | Method and Description |
|---|---|
String |
sanitize(String argument)
Replaces a potential secure value with "******".
|
String |
sanitize(String key,
String value)
Replaces a potential secure value with "******".
|
String |
sanitizeStream(StreamDefinition streamDefinition)
Redacts sensitive property values in a stream.
|
public String sanitize(String argument)
argument - the argument to cleanse.public String sanitize(String key, String value)
key - to check for sensitive words.value - the argument to cleanse.public String sanitizeStream(StreamDefinition streamDefinition)
streamDefinition - the stream definition to sanitizeCopyright © 2018 Pivotal Software, Inc.. All rights reserved.