Skip to content
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

Use MvcRequestMatcher by default if Spring MVC is present #11899

Closed
marcusdacoregio opened this issue Sep 26, 2022 · 0 comments · Fixed by #11950
Closed

Use MvcRequestMatcher by default if Spring MVC is present #11899

marcusdacoregio opened this issue Sep 26, 2022 · 0 comments · Fixed by #11950
Assignees
Labels
in: config An issue in spring-security-config type: breaks-passivity A change that breaks passivity with the previous release type: enhancement A general enhancement
Milestone

Comments

@marcusdacoregio
Copy link
Contributor

In some places, like XML configuration (AuthorizationFilterParser, FilterChainBeanDefinitionParser, MatcherType), the default RequestMatcher implementation is AntPathRequestMatcher. We should switch the default to MvcRequestMatcher if Spring MVC is on the classpath.

See:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: config An issue in spring-security-config type: breaks-passivity A change that breaks passivity with the previous release type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant