Class 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 Detail

      • EscapeHatchCrumbExclusion

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