Skip to content

Add Authority String AuthorizationManager #12231

@jzheaux

Description

@jzheaux

It would be helpful to have an AuthorizationManager that takes the needed authorities as context.

Something like (pseudocode):

AuthorizationManager<Collection<String>> manager = (authentication, authorities) -> 
        (authentication hasAnyAuthority authorities) ? granted : denied;

Metadata

Metadata

Assignees

No one assigned

    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