Class OmpassCrumbExclusion

java.lang.Object
hudson.security.csrf.CrumbExclusion
io.jenkins.plugins.ompass.OmpassCrumbExclusion
All Implemented Interfaces:
ExtensionPoint

@Extension public class OmpassCrumbExclusion extends CrumbExclusion
Excludes OMPASS callback URLs from Jenkins CSRF (crumb) protection. The OMPASS server redirects the authentication popup to the callback URL, and this redirect does not include a Jenkins crumb token. Without this exclusion, the callback would be rejected by Jenkins CSRF protection.
  • Constructor Details

    • OmpassCrumbExclusion

      public OmpassCrumbExclusion()
  • 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:
      process in class CrumbExclusion
      Throws:
      IOException
      jakarta.servlet.ServletException