Class CsrfRequestDataValueProcessor

All Implemented Interfaces:

public final class CsrfRequestDataValueProcessor extends Object implements
Integration with Spring Web MVC that automatically adds the CsrfToken into forms with hidden inputs when using Spring tag libraries.
  • Constructor Details

    • CsrfRequestDataValueProcessor

      public CsrfRequestDataValueProcessor()
  • Method Details

    • processAction

      public String processAction(jakarta.servlet.http.HttpServletRequest request, String action)
    • processAction

      public String processAction(jakarta.servlet.http.HttpServletRequest request, String action, String method)
      Specified by:
      processAction in interface
    • processFormFieldValue

      public String processFormFieldValue(jakarta.servlet.http.HttpServletRequest request, String name, String value, String type)
      Specified by:
      processFormFieldValue in interface
    • getExtraHiddenFields

      public Map<String,String> getExtraHiddenFields(jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      getExtraHiddenFields in interface
    • processUrl

      public String processUrl(jakarta.servlet.http.HttpServletRequest request, String url)
      Specified by:
      processUrl in interface