You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In future versions of Spring Security, we should move away from PathMatcher (used by AntPathRequestMatcher) and HandlerMappingIntrospector (used by MvcRequestMatcher) as they are deprecated Spring Framework 7.0 M1.
This will also assist with efforts to simplify construction of path-based RequestMatchers.
Deprecate usages of PathMatcher in Web Socket support
Update HandlerMappingIntrospector Usage in CORS support
Update HandlerMappingIntrospector Usage in Cache filter support
Favor using PathPatternRequestMatcher in Java DSL We can default to Framework's PathPatternParser for MVC endpoints when HandlerMappingIntrospector#allHandlerMappingsUsePathPatternParser returns true
We can default to Framework's PathPatternParser for non-MVC endpoints
This should have an opt-in mechanism in order to remain passive.
The text was updated successfully, but these errors were encountered:
Hi, @evgeniycheban, thanks for volunteering! Some of this is already addressed in a draft PR, so allow me to clean that up first so it's clear what work remains. I'll report back here when that's ready, and then we can divvy out the remaining work.
In future versions of Spring Security, we should move away from
PathMatcher
(used byAntPathRequestMatcher
) andHandlerMappingIntrospector
(used byMvcRequestMatcher
) as they are deprecated Spring Framework 7.0 M1.This will also assist with efforts to simplify construction of path-based
RequestMatcher
s.Add PathPatternRequestMatcher #16429
Simplify Specifying servletPath in the Java DSL #16430
Deprecate
MvcRequestMatcher
Deprecate
AntPathRequestMatcher
Deprecate usages of
PathMatcher
in Web Socket supportUpdate
HandlerMappingIntrospector
Usage in CORS supportUpdate
HandlerMappingIntrospector
Usage in Cache filter supportFavor using
PathPatternRequestMatcher
in Java DSLWe can default to Framework's
PathPatternParser
for MVC endpoints whenHandlerMappingIntrospector#allHandlerMappingsUsePathPatternParser
returnstrue
We can default to Framework's
PathPatternParser
for non-MVC endpointsThis should have an opt-in mechanism in order to remain passive.
The text was updated successfully, but these errors were encountered: