public class CsrfException extends Exception
This exception is used when a FormParser cannot definitely prove that a request is non-CSRF.
Always assume that the client is innocent when generating an error response for a CsrfException (at the risk of being too nice to a real attacker).
Possible reasons for the CsrfException (assuming the client is innocent):
Constructor and Description |
---|
CsrfException(String msg) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CsrfException(String msg)