浏览代码

Merge branch '6.0.x'

Closes gh-12515
Steve Riesenberg 2 年之前
父节点
当前提交
5f89f39627
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      web/src/main/java/org/springframework/security/web/csrf/CsrfFilter.java

+ 2 - 2
web/src/main/java/org/springframework/security/web/csrf/CsrfFilter.java

@@ -1,5 +1,5 @@
 /*
- * Copyright 2002-2022 the original author or authors.
+ * Copyright 2002-2023 the original author or authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -170,7 +170,7 @@ public final class CsrfFilter extends OncePerRequestFilter {
 	 * {@link CsrfToken} available as a request attribute.
 	 *
 	 * <p>
-	 * The default is {@link CsrfTokenRequestAttributeHandler}.
+	 * The default is {@link XorCsrfTokenRequestAttributeHandler}.
 	 * </p>
 	 * @param requestHandler the {@link CsrfTokenRequestHandler} to use
 	 * @since 5.8