Package io.jenkins.plugins.ompass
Class OmpassCrumbExclusion
java.lang.Object
hudson.security.csrf.CrumbExclusion
io.jenkins.plugins.ompass.OmpassCrumbExclusion
- All Implemented Interfaces:
ExtensionPoint
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.
-
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
-
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:
processin classCrumbExclusion- Throws:
IOExceptionjakarta.servlet.ServletException
-