Class MissingCsrfTokenException

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.MissingCsrfTokenException
All Implemented Interfaces:
Serializable

public class MissingCsrfTokenException extends CsrfException
Thrown when no expected CsrfToken is found but is required.
Since:
3.2
See Also:
  • Constructor Details

    • MissingCsrfTokenException

      public MissingCsrfTokenException(String actualToken)