Annotation Interface Csrf


@Documented @Target(METHOD) @Retention(RUNTIME) public @interface Csrf
Controls CSRF behaviour for a controller method.
Since:
9.7.3
Author:
Petru Galanton
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Indicates whether CSRF verification should be skipped for this method.
  • Element Details

    • ignore

      boolean ignore
      Indicates whether CSRF verification should be skipped for this method.
      Returns:
      if the CSRF verification should be ignored (defaults to false)
      Default:
      false