Browse Source

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 <guillaume.husta@gmail.com>
pull/18524/head
Guillaume Husta 1 month ago committed by Josh Cummings
parent
commit
dd1f097131
  1. 1
      web/src/main/java/org/springframework/security/web/util/matcher/RequestMatcher.java

1
web/src/main/java/org/springframework/security/web/util/matcher/RequestMatcher.java

@ -28,6 +28,7 @@ import jakarta.servlet.http.HttpServletRequest; @@ -28,6 +28,7 @@ import jakarta.servlet.http.HttpServletRequest;
* @author Eddú Meléndez
* @since 3.0.2
*/
@FunctionalInterface
public interface RequestMatcher {
/**

Loading…
Cancel
Save