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

Simplify Specifying servletPath in the Java DSL #16430

Open
Tracked by #16417
jzheaux opened this issue Jan 16, 2025 · 0 comments
Open
Tracked by #16417

Simplify Specifying servletPath in the Java DSL #16430

jzheaux opened this issue Jan 16, 2025 · 0 comments
Assignees
Labels
in: config An issue in spring-security-config type: enhancement A general enhancement
Milestone

Comments

@jzheaux
Copy link
Contributor

jzheaux commented Jan 16, 2025

Currently, this is only possible by constructing an MvcRequestMatcher, which is MVC-specific and requires a HandlerMappingIntrospector

It would be nice if it were similar to how servlet paths are specified in XML and Kotlin

@jzheaux jzheaux added in: config An issue in spring-security-config type: enhancement A general enhancement labels Jan 16, 2025
@jzheaux jzheaux self-assigned this Jan 16, 2025
@jzheaux jzheaux added this to the 6.5.0-M1 milestone Jan 16, 2025
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jan 16, 2025
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jan 16, 2025
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jan 16, 2025
@sjohnr sjohnr modified the milestones: 6.5.0-M1, 6.5.0-M2 Jan 20, 2025
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jan 24, 2025
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jan 24, 2025
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jan 24, 2025
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jan 24, 2025
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jan 29, 2025
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jan 29, 2025
This static factory simplifes the creation of RequestMatchers
that specify the servlet path.

Closes spring-projectsgh-16430
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jan 29, 2025
This static factory simplifes the creation of RequestMatchers
that specify the servlet path.

Closes spring-projectsgh-16430
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: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants