Class GitStatusCrumbExclusion

java.lang.Object
hudson.security.csrf.CrumbExclusion
hudson.plugins.git.GitStatusCrumbExclusion
All Implemented Interfaces:
ExtensionPoint

@Extension public class GitStatusCrumbExclusion extends CrumbExclusion
Make POST to /git/notifyCommit work with CSRF protection on.
  • Constructor Details

    • GitStatusCrumbExclusion

      public GitStatusCrumbExclusion()
  • Method Details

    • process

      public boolean process(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Overrides:
      process in class CrumbExclusion
      Throws:
      IOException
      jakarta.servlet.ServletException
    • getExclusionPath

      public String getExclusionPath()