Skip to content

Introduce a Map-based AuthenticationManagerResolver #6762

@jzheaux

Description

@jzheaux

Recently, #6722 introduced a contract for resolving an AuthenticationManager via some context, like a request.

A natural implementation for this would be one that contained a Map<RequestMatcher, AuthenticationManager> and selected the AuthenticationManager from the configured Map.

This aligns with other request-matching API implementations like DelegatingAuthenticationEntryPoint and RequestMatcherDelegatingAccessDeniedHandler.

Metadata

Metadata

Assignees

Labels

in: coreAn issue in spring-security-coretype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions