Package hudson.cli
Class CliCrumbExclusion
- java.lang.Object
-
- hudson.security.csrf.CrumbExclusion
-
- hudson.cli.CliCrumbExclusion
-
- All Implemented Interfaces:
ExtensionPoint
@Extension @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public class CliCrumbExclusion extends CrumbExclusion
Makes CLI HTTP fallback work with CSRF protection enabled (JENKINS-18114).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description CliCrumbExclusion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
This method is called for every incoming POST request.-
Methods inherited from class hudson.security.csrf.CrumbExclusion
all
-
-
-
-
Method Detail
-
process
public boolean process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
Description copied from class:CrumbExclusion
This method is called for every incoming POST request.- Specified by:
process
in classCrumbExclusion
- Returns:
- true to indicate that the callee had processed this request (for example by reporting an error, or by executing the rest of the chain.)
- Throws:
IOException
javax.servlet.ServletException
-
-