- All Known Implementing Classes:
You should add this filter with the "skipResourcesRequests()" options so it is ignored except for main routes.
(RequestContext<?> context) throws FormInvalidOriginException, FormInvalidCsrfTokenExceptionFilter's handle main method.
getCurrentCsrfTokenSpincastCsrfToken getCurrentCsrfToken()Returns the current CSRF token to use Will be taken from the user session by default.
If there is none, a new one is created and save in the user's session! This will make the session being dirty and saved to the database.