Class InvalidCsrfTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.access.AccessDeniedException
org.springframework.security.web.csrf.CsrfException
org.springframework.security.web.csrf.InvalidCsrfTokenException
- All Implemented Interfaces:
- Serializable
Thrown when an expected 
CsrfToken exists, but it does not match the value
 present on the HttpServletRequest- Since:
- 3.2
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInvalidCsrfTokenException(CsrfToken expectedAccessToken, String actualAccessToken) 
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
InvalidCsrfTokenException- Parameters:
- expectedAccessToken-
- actualAccessToken-
 
 
-