Package org.springframework.security.web.server.csrf
package org.springframework.security.web.server.csrf
-
ClassDescriptionA
ServerCsrfTokenRepositorythat persists the CSRF token in a cookie named "XSRF-TOKEN" and reads from the header "X-XSRF-TOKEN" following the conventions of AngularJS.Thrown when an invalid or missingCsrfTokenis found in the HttpServletRequestCsrfServerLogoutHandleris in charge of removing theCsrfTokenupon logout.Applies CSRF protection using a synchronizer token pattern.A CSRF token that is used to protect against CSRF attacks.An API to allow changing the method in which the expectedCsrfTokenis associated to theServerWebExchange.