浏览代码

Use spring.security prefix instead of security.security

Closes gh-16422

Signed-off-by: DingHao <dh.hiekn@gmail.com>
DingHao 7 月之前
父节点
当前提交
45f22a46e3

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

@@ -1,5 +1,5 @@
 /*
- * Copyright 2002-2023 the original author or authors.
+ * Copyright 2002-2025 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.
@@ -554,7 +554,7 @@ public final class ObservationFilterChainDecorator implements FilterChainProxy.F
 
 		private static final String CHAIN_SIZE_NAME = "spring.security.filterchain.size";
 
-		private static final String FILTER_SECTION_NAME = "security.security.reached.filter.section";
+		private static final String FILTER_SECTION_NAME = "spring.security.reached.filter.section";
 
 		private static final String FILTER_NAME = "spring.security.reached.filter.name";