Package jenkins.security
Class RedactSecretJsonInErrorMessageSanitizer
java.lang.Object
jenkins.security.RedactSecretJsonInErrorMessageSanitizer
- All Implemented Interfaces:
org.kohsuke.stapler.JsonInErrorMessageSanitizer
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class RedactSecretJsonInErrorMessageSanitizer
extends Object
implements org.kohsuke.stapler.JsonInErrorMessageSanitizer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RedactSecretJsonInErrorMessageSanitizer
static final String
static final String
Fields inherited from interface org.kohsuke.stapler.JsonInErrorMessageSanitizer
NOOP
-
Method Summary
Modifier and TypeMethodDescriptionnet.sf.json.JSONObject
sanitize
(net.sf.json.JSONObject jsonObject)
-
Field Details
-
REDACT_KEY
- See Also:
-
REDACT_VALUE
- See Also:
-
INSTANCE
-
-
Method Details
-
sanitize
public net.sf.json.JSONObject sanitize(net.sf.json.JSONObject jsonObject) - Specified by:
sanitize
in interfaceorg.kohsuke.stapler.JsonInErrorMessageSanitizer
-