spring-security/docs/modules/ROOT/pages/servlet
Rob Winch 5b64526ba9 Add CsrfFilter.csrfRequestAttributeName
Previously the CsrfToken was set on the request attribute with the name
equal to CsrfToken.getParameterName(). This didn't really make a lot of
sense because the CsrfToken.getParameterName() is intended to be used as
the HTTP parameter that the CSRF token was provided. What's more is it
meant that the CsrfToken needed to be read for every request to place it
as an HttpServletRequestAttribute. This causes unnecessary HttpSession
access which can decrease performance for applications.

This commit allows setting CsrfFilter.csrfReqeustAttributeName to
remove the dual purposing of CsrfToken.parameterName and to allow deferal
of reading the CsrfToken to prevent unnecessary HttpSession access.

Issue gh-11699
2022-08-15 17:07:02 -05:00
..
appendix Add CsrfFilter.csrfRequestAttributeName 2022-08-15 17:07:02 -05:00
authentication Add SHA256 as an algorithm option for Remember Me token hashing 2022-07-15 10:41:03 -03:00
authorization Improve docs on dispatcherTypeMatcher 2022-07-14 09:13:46 -03:00
configuration ForceEagerSessionCreationFilter 2022-04-15 14:16:35 -05:00
exploits Replace WebSecurityConfigurerAdapter with SecurityFilterChain in docs 2022-02-08 16:12:10 +01:00
integrations Add AuthorizationManager to Messaging 2022-05-27 12:20:48 -06:00
oauth2 Update opaque-token.adoc 2022-06-01 08:49:47 -03:00
saml2 use okta as registration id 2022-03-30 14:40:25 -06:00
test Improve ContextConfiguration Docs 2022-05-27 12:57:02 -06:00
architecture.adoc ForceEagerSessionCreationFilter 2022-04-15 14:16:35 -05:00
getting-started.adoc Reduce folders 2021-09-23 15:50:13 -05:00
index.adoc Docs Use Section Summary where appropriate 2021-10-28 14:02:38 -05:00