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.
  • Constructor Details

    • BaseContributor

      public BaseContributor()
  • Method Details

    • apply

      public void apply(CspBuilder cspBuilder)
      Description copied from interface: Contributor
      Contribute to the builder's rules by adding to or removing from the provided CspBuilder.
      Specified by:
      apply in interface Contributor
      Parameters:
      cspBuilder - the builder