|
@@ -32,7 +32,7 @@ For example, it might be desirable to persist the `CsrfToken` in a cookie to <<w
|
|
By default the `CookieServerCsrfTokenRepository` will write to a cookie named `XSRF-TOKEN` and read it from a header named `X-XSRF-TOKEN` or the HTTP parameter `_csrf`.
|
|
By default the `CookieServerCsrfTokenRepository` will write to a cookie named `XSRF-TOKEN` and read it from a header named `X-XSRF-TOKEN` or the HTTP parameter `_csrf`.
|
|
These defaults come from https://docs.angularjs.org/api/ng/service/$http#cross-site-request-forgery-xsrf-protection[AngularJS]
|
|
These defaults come from https://docs.angularjs.org/api/ng/service/$http#cross-site-request-forgery-xsrf-protection[AngularJS]
|
|
|
|
|
|
-You can configure `CookieCsrfTokenRepository` in Java Configuration using:
|
|
|
|
|
|
+You can configure `CookieServerCsrfTokenRepository` in Java Configuration using:
|
|
|
|
|
|
.Store CSRF Token in a Cookie
|
|
.Store CSRF Token in a Cookie
|
|
====
|
|
====
|