Package jenkins.security
Class ExtendedReadSecretRedaction
java.lang.Object
jenkins.security.ExtendedReadSecretRedaction
- All Implemented Interfaces:
ExtensionPoint,ExtendedReadRedaction
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
public class ExtendedReadSecretRedaction
extends Object
implements ExtendedReadRedaction
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExtendedReadSecretRedaction
public ExtendedReadSecretRedaction()
-
-
Method Details
-
apply
Description copied from interface:ExtendedReadRedactionRedacts sensitive information from the providedconfig.xmlfile content. Input may already have redactions applied; output may be passed through further redactions. These methods are expected to retain the basic structure of the XML document contained in input/output strings.- Specified by:
applyin interfaceExtendedReadRedaction- Parameters:
configDotXml- String representation of (potentially already redacted) config.xml file- Returns:
- Redacted config.xml file content
-