Class WebHookCrumbExclusion

java.lang.Object
hudson.security.csrf.CrumbExclusion
org.jenkinsci.plugins.registry.notification.webhook.WebHookCrumbExclusion
All Implemented Interfaces:
ExtensionPoint

@Extension public class WebHookCrumbExclusion extends CrumbExclusion
Excludes DockerHubWebHook and DockerRegistryWebHook from having a CSRF protection filter.
Author:
Robert Sandell <rsandell@cloudbees.com>.
  • Constructor Details

    • WebHookCrumbExclusion

      public WebHookCrumbExclusion()
  • Method Details

    • process

      public boolean process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
      Overrides:
      process in class CrumbExclusion
      Throws:
      IOException
      javax.servlet.ServletException