org.springframework.security.web.csrf
Class InvalidCsrfTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.access.AccessDeniedException
org.springframework.security.web.csrf.InvalidCsrfTokenException
- All Implemented Interfaces:
- Serializable
public class InvalidCsrfTokenException
- extends AccessDeniedException
Thrown when an invalid or missing CsrfToken
is found in the HttpServletRequest
- Since:
- 3.2
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidCsrfTokenException
public InvalidCsrfTokenException(CsrfToken expectedAccessToken,
String actualAccessToken)
- Parameters:
msg
-