Package org.jenkinsci.plugins.oic
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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description EscapeHatchCrumbExclusion()
-
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)
-
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
- Specified by:
process
in classCrumbExclusion
- Throws:
IOException
javax.servlet.ServletException
-
-