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

Migrate from AntPathRequestMatcher to PathPatternRequestMatcher #45150

Closed
philwebb opened this issue Apr 10, 2025 · 1 comment
Closed

Migrate from AntPathRequestMatcher to PathPatternRequestMatcher #45150

philwebb opened this issue Apr 10, 2025 · 1 comment
Labels
status: superseded An issue that has been superseded by another

Comments

@philwebb
Copy link
Member

philwebb commented Apr 10, 2025

The following classes currently use the deprecated AntPathRequestMatcher and should be migrated to PathPatternRequestMatcher:

  • org.springframework.boot.devtools.autoconfigure.RemoteDevtoolsSecurityConfiguration
  • org.springframework.boot.autoconfigure.security.servlet.StaticResourceRequest
  • org.springframework.boot.autoconfigure.security.servlet.PathRequest
  • org.springframework.boot.actuate.autoconfigure.security.servlet.AntPathRequestMatcherProvider
  • org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest
  • org.springframework.boot.actuate.autoconfigure.cloudfoundry.servlet.CloudFoundryActuatorAutoConfiguration
  • smoketest.actuator.customsecurity.SecurityConfiguration
  • org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfigurationTests
@philwebb philwebb added this to the 3.5.x milestone Apr 10, 2025
@philwebb philwebb added the type: enhancement A general enhancement label Apr 10, 2025
@philwebb philwebb changed the title Migrate StaticResourceRequest from AntPathRequestMatcher to PathPatternRequestMatcher Migrate StaticResourceRequest and PathRequest from AntPathRequestMatcher to PathPatternRequestMatcher Apr 10, 2025
@philwebb philwebb changed the title Migrate StaticResourceRequest and PathRequest from AntPathRequestMatcher to PathPatternRequestMatcher Migrate from AntPathRequestMatcher to PathPatternRequestMatcher Apr 10, 2025
@philwebb philwebb removed this from the 3.5.x milestone Apr 12, 2025
@philwebb philwebb added status: superseded An issue that has been superseded by another and removed type: enhancement A general enhancement labels Apr 12, 2025
@philwebb
Copy link
Member Author

Closing in favor of PR #45163. Thanks @ngocnhan-tran1996!

@philwebb philwebb closed this as not planned Won't fix, can't repro, duplicate, stale Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: superseded An issue that has been superseded by another
Projects
None yet
Development

No branches or pull requests

1 participant