Skip to content

Update HandlerMappingIntrospector Usage in CORS support #16501

Closed
@jzheaux

Description

@jzheaux

The CorsConfigurationConfigurer should look up a PreFlightRequestHandler instead of a HandlerMappingIntrospector. It will still be registered under the same bean name in Framework 7, so that should remain as-is.

If a PreFlightRequestHandler is found by the given name, then safely cast it to CorsConfigurationSource and construct the CorsFilter as normal.

Metadata

Metadata

Assignees

Labels

in: configAn issue in spring-security-configtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions