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
-
Method Summary
-
Constructor Details
-
ExtendedReadSecretRedaction
public ExtendedReadSecretRedaction()
-
-
Method Details
-
apply
Description copied from interface:ExtendedReadRedaction
Redacts sensitive information from the providedconfig.xml
file 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:
apply
in interfaceExtendedReadRedaction
- Parameters:
configDotXml
- String representation of (potentially already redacted) config.xml file- Returns:
- Redacted config.xml file content
-