Skip to content

Enhance HandlerMappingIntrospector to cache parsed patterns #25312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rstoyanchev opened this issue Jun 24, 2020 · 0 comments
Closed

Enhance HandlerMappingIntrospector to cache parsed patterns #25312

rstoyanchev opened this issue Jun 24, 2020 · 0 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@rstoyanchev
Copy link
Contributor

#24945 added support for parsed PathPatterns but in order to integrate with this Spring Security has to parse its patterns in one of several ways depending on how many differently configured PathPatternParser's are in use (see spring-projects/spring-security#8691).

This ticket is to try and encapsulate the parsing and caching of patterns so that Spring Security does not need to be aware of those details and continue to use the same API passing String patterns as input. Internally Spring MVC would have to then to parse patterns lazily and build up the cache.

@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement labels Jun 24, 2020
@rstoyanchev rstoyanchev added this to the 5.3 M2 milestone Jun 24, 2020
@rstoyanchev rstoyanchev self-assigned this Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant