Class TurSpaCsrfTokenRequestHandler

Object
CsrfTokenRequestAttributeHandler
TurSpaCsrfTokenRequestHandler
All Implemented Interfaces:
CsrfTokenRequestHandler, CsrfTokenRequestResolver

public class TurSpaCsrfTokenRequestHandler extends CsrfTokenRequestAttributeHandler
  • Constructor Details

    • TurSpaCsrfTokenRequestHandler

      public TurSpaCsrfTokenRequestHandler()
  • Method Details

    • handle

      public void handle(HttpServletRequest request, HttpServletResponse response, Supplier<CsrfToken> csrfToken)
      Specified by:
      handle in interface CsrfTokenRequestHandler
      Overrides:
      handle in class CsrfTokenRequestAttributeHandler
    • resolveCsrfTokenValue

      public String resolveCsrfTokenValue(HttpServletRequest request, CsrfToken csrfToken)