org.springframework.security.web.csrf
Class InvalidCsrfTokenException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.security.access.AccessDeniedException
                  extended by 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

Constructor Summary
InvalidCsrfTokenException(CsrfToken expectedAccessToken, String actualAccessToken)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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,
                                 String actualAccessToken)
Parameters:
msg -