From dd1f09713120fead18f39da43a41db5cbe0d59fd 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 c624d4b63f..c86c2475de 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 @@ import jakarta.servlet.http.HttpServletRequest; * @author EddĂș MelĂ©ndez * @since 3.0.2 */ +@FunctionalInterface public interface RequestMatcher { /**