Currently, this is only possible by constructing an MvcRequestMatcher, which is MVC-specific and requires a HandlerMappingIntrospector

It would be nice if it were similar to how servlet paths are specified in XML and Kotlin

Comment From: jzheaux

Closed in 588220a020baa24bd3d2985b870331dddcc1b361

Comment From: jzheaux

Superceded by https://github.com/spring-projects/spring-security/pull/16499