Class IsolationRedactor
java.lang.Object
org.j7m.middleware.isolation.internal.IsolationRedactor
Internal redaction helper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpathSummary(Path path, boolean redact) Returns a safe path summary.Redacts a map.redactText(String text, org.j7m.middleware.api.isolation.StreamCapturePolicy policy) Redacts free text according to capture policy.redactValue(String key, String value) Redacts a value by key.safeCommand(List<String> command) Redacts command arguments.booleansensitiveKey(String key) Returns whether a key is sensitive.
-
Constructor Details
-
IsolationRedactor
public IsolationRedactor()Creates a redactor.
-
-
Method Details
-
sensitiveKey
Returns whether a key is sensitive.- Parameters:
key- key value- Returns:
trueif sensitive
-
redactValue
-
redactMap
-
redactText
-
safeCommand
-
pathSummary
-