Class CsrfException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.access.AccessDeniedException
org.springframework.security.web.csrf.CsrfException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidCsrfTokenException, MissingCsrfTokenException

public class CsrfException extends org.springframework.security.access.AccessDeniedException
Thrown when an invalid or missing CsrfToken is found in the HttpServletRequest
Since:
3.2
See Also:
  • Constructor Details

    • CsrfException

      public CsrfException(String message)