Class InvalidCsrfTokenException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidCsrfTokenException
    extends CsrfException
    Thrown when an expected CsrfToken exists, but it does not match the value present on the HttpServletRequest
    Since:
    3.2
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidCsrfTokenException

        public InvalidCsrfTokenException​(CsrfToken expectedAccessToken,
                                         java.lang.String actualAccessToken)
        Parameters:
        expectedAccessToken -
        actualAccessToken -