Package com.veertu.plugin.anka
Class AnkaLabelsApiCrumbExclusion
java.lang.Object
hudson.security.csrf.CrumbExclusion
com.veertu.plugin.anka.AnkaLabelsApiCrumbExclusion
- All Implemented Interfaces:
ExtensionPoint
Allows POST to the labels API without a CSRF crumb (token auth replaces crumb). Applies to
/anka-build-cloud/labels/... so unconfigured paths reach Stapler and are not routed (404) instead of failing CSRF
(403).-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.FilterChain chain) Methods inherited from class hudson.security.csrf.CrumbExclusion
all, process
-
Constructor Details
-
AnkaLabelsApiCrumbExclusion
public AnkaLabelsApiCrumbExclusion()
-
-
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:
processin classCrumbExclusion- Throws:
IOExceptionjakarta.servlet.ServletException
-