Package jenkins.security.csp.impl
Class BaseContributor
java.lang.Object
jenkins.security.csp.impl.BaseContributor
- All Implemented Interfaces:
ExtensionPoint,Contributor
@Extension(ordinal=2.147483647E9)
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class BaseContributor
extends Object
implements Contributor
Add a minimal set of CSP directives not expected to be removed later.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(CspBuilder cspBuilder) Contribute to the builder's rules by adding to or removing from the providedCspBuilder.
-
Constructor Details
-
BaseContributor
public BaseContributor()
-
-
Method Details
-
apply
Description copied from interface:ContributorContribute to the builder's rules by adding to or removing from the providedCspBuilder.- Specified by:
applyin interfaceContributor- Parameters:
cspBuilder- the builder
-