Class WebHookCrumbExclusion
java.lang.Object
hudson.security.csrf.CrumbExclusion
org.jenkinsci.plugins.registry.notification.webhook.WebHookCrumbExclusion
- All Implemented Interfaces:
ExtensionPoint
Excludes
DockerHubWebHook
and DockerRegistryWebHook
from having a CSRF protection filter.- Author:
- Robert Sandell <rsandell@cloudbees.com>.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) Methods inherited from class hudson.security.csrf.CrumbExclusion
all, process
-
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 classCrumbExclusion
- Throws:
IOException
javax.servlet.ServletException
-