Package jenkins.security.csp.impl
Class CompatibleContributor
java.lang.Object
jenkins.security.csp.impl.CompatibleContributor
- All Implemented Interfaces:
ExtensionPoint,Contributor
@Extension(ordinal=1.0737418235E9)
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class CompatibleContributor
extends Object
implements Contributor
Add the CSP directives currently required for Jenkins to work properly.
The long-term goal is for these directives to become unnecessary.
Any for which we determine with high confidence they can never be fixed
should be moved into
BaseContributor instead.-
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
-
CompatibleContributor
public CompatibleContributor()
-
-
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
-