Skip to content

Consolidate logic for merging authorities #18053

@jzheaux

Description

@jzheaux

Related to #18021, it would be nice if Authentication.Builder could merge authorities on its own. One way to do this is to add an authentication method to the builder, which would by default merge authorities from the given authentication into the current builder instance.

This will consolidate the logic currently residing in a half-dozen filters that are currently performing this authority-merging logic.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions