-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: configAn issue in spring-security-configAn issue in spring-security-configtype: enhancementA general enhancementA general enhancement
Description
Constructing an MvcRequestMatcher
can be confusing since it's unclear where to obtain a HandlerMappingIntrospector
from.
Spring Security could publish a prototype bean like so to make that easier:
@Bean
@Scope("prototype")
MvcRequestMatcher.Builder mvcRequestMatcherBuilder(HandlerMappingIntrospector introspector) {
return new MvcRequestMatcher.Builder(introspector);
}
Metadata
Metadata
Assignees
Labels
in: configAn issue in spring-security-configAn issue in spring-security-configtype: enhancementA general enhancementA general enhancement