From 45f22a46e3824dc3e3db72fd779bba1bf3b064b0 Mon Sep 17 00:00:00 2001 From: DingHao Date: Thu, 16 Jan 2025 14:25:49 +0800 Subject: [PATCH] Use spring.security prefix instead of security.security Closes gh-16422 Signed-off-by: DingHao --- .../security/web/ObservationFilterChainDecorator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/ObservationFilterChainDecorator.java b/web/src/main/java/org/springframework/security/web/ObservationFilterChainDecorator.java index ed24f19f91..6578d8dcb5 100644 --- a/web/src/main/java/org/springframework/security/web/ObservationFilterChainDecorator.java +++ b/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";