Spring Security 7.0.0-M1 publishes a PathPatternRequestMatcherBuilderFactoryBean to allow applications to have a PathPatternRequestMatcher.Builder bean available to them that is appropriately configured with Spring MVC's PathPatternParser.

Integration with Boot would be smoother if we did not publish this bean and instead relied on Boot to publish the bean. Internally, the DSL can fallback to a shared object if the bean isn't present.

Likely, migration will be minimal since the migration preparation guide instructions applications to publish this bean themselves already.