Adjusts setRequestHandler javadoc in CsrfFilter
Adjusts setRequestHandler method javadoc in CsrfFilter class to reflect changes in 6.0. In 6.0, the default CsrfTokenRequestHandler changed to XorCsrfTokenRequestAttributeHandler, however, the javadoc for the setRequestHandler method still said it was CsrfTokenRequestAttributeHandler. This change adjusts the information to make it more accurate, because, although XorCsrfTokenRequestAttributeHandler is a subclass of CsrfTokenRequestAttributeHandler, the behavior is quite different. Closes gh-12464
This commit is contained in:
parent
5b6b3d585f
commit
2c8854bb7f
|
@ -170,7 +170,7 @@ public final class CsrfFilter extends OncePerRequestFilter {
|
||||||
* {@link CsrfToken} available as a request attribute.
|
* {@link CsrfToken} available as a request attribute.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* The default is {@link CsrfTokenRequestAttributeHandler}.
|
* The default is {@link XorCsrfTokenRequestAttributeHandler}.
|
||||||
* </p>
|
* </p>
|
||||||
* @param requestHandler the {@link CsrfTokenRequestHandler} to use
|
* @param requestHandler the {@link CsrfTokenRequestHandler} to use
|
||||||
* @since 5.8
|
* @since 5.8
|
||||||
|
|
Loading…
Reference in New Issue