From 5855f994113f1cda83284d440f392d7ddd5a1c12 Mon Sep 17 00:00:00 2001 From: Guillaume Husta Date: Fri, 19 Dec 2025 13:29:06 +0100 Subject: [PATCH] Add @FunctionalInterface to RequestMatcher Add `@FunctionalInterface` to `RequestMatcher`. According to the documentation, it is a FunctionalInterface. See: https://docs.spring.io/spring-security/reference/6.5/servlet/authorization/authorize-http-requests.html#match-by-custom Signed-off-by: Guillaume Husta --- .../security/web/util/matcher/RequestMatcher.java | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/main/java/org/springframework/security/web/util/matcher/RequestMatcher.java b/web/src/main/java/org/springframework/security/web/util/matcher/RequestMatcher.java index c624d4b63f2..c86c2475de7 100644 --- a/web/src/main/java/org/springframework/security/web/util/matcher/RequestMatcher.java +++ b/web/src/main/java/org/springframework/security/web/util/matcher/RequestMatcher.java @@ -28,6 +28,7 @@ * @author EddĂș MelĂ©ndez * @since 3.0.2 */ +@FunctionalInterface public interface RequestMatcher { /**