Class CsrfException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.security.access.AccessDeniedException
-
- org.springframework.security.web.server.csrf.CsrfException
-
- All Implemented Interfaces:
java.io.Serializable
public class CsrfException extends AccessDeniedException
Thrown when an invalid or missingCsrfToken
is found in the HttpServletRequest- Since:
- 3.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CsrfException(java.lang.String message)
-