In circumstances where Spring MVC is deployed only to the root servlet (/), then there is no information lost when a path is specified in request matchers:

http
    .authorizeHttpRequests((authorize) -> authorize
        .requestMatchers("/path").hasAuthority("path:read")
    )
    // ...

Whether the above /path points to Spring MVC or not can be determined at request time by inspecting which servlet the request resolves to.