Class EscapeHatchCrumbExclusion

java.lang.Object
hudson.security.csrf.CrumbExclusion
org.jenkinsci.plugins.oic.EscapeHatchCrumbExclusion
All Implemented Interfaces:
ExtensionPoint

@Extension public class EscapeHatchCrumbExclusion extends CrumbExclusion
Excluding the escapeHatch login from CSRF protection as the crumb is calculated based on the authentication mirroring behavior of the normal login page.
Author:
Michael Bischoff
  • Constructor Details

    • EscapeHatchCrumbExclusion

      public EscapeHatchCrumbExclusion()
  • 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
      Specified by:
      process in class CrumbExclusion
      Throws:
      IOException
      javax.servlet.ServletException