Class WebhookCrumbExclusion

java.lang.Object
hudson.security.csrf.CrumbExclusion
io.jenkins.plugins.webhookexternalstore.WebhookCrumbExclusion
All Implemented Interfaces:
ExtensionPoint

@Extension public class WebhookCrumbExclusion extends CrumbExclusion
Ensure that the REST URL /webhook-credentials/update is excluded from CSRF protection It's using different authentication method (Shared token for webhooks)
  • Constructor Details

    • WebhookCrumbExclusion

      public WebhookCrumbExclusion()
  • Method Details

    • process

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