Closed
Listed in
Description
In circumstances where Spring MVC is deployed only to the root servlet (/
), then there is no information lost when a path is specified in request matchers:
http
.authorizeHttpRequests((authorize) -> authorize
.requestMatchers("/path").hasAuthority("path:read")
)
// ...
Whether the above /path
points to Spring MVC or not can be determined at request time by inspecting which servlet the request resolves to.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Relationships
Development
No branches or pull requests
Activity
[-]Consider resolving matcher at request-time[/-][+]Resolve RequestMatcher at request-time[/+]Refine requestMatcher Validation Rules