Skip to content

SEC-2154: Provide support for the GrantedAuthoritiesMapper to PreAuthenticatedAuthenticationProvider #2379

Open
@spring-projects-issues

Description

@spring-projects-issues

Mauro Molinari (Migrated from SEC-2154) said:

Currently, any extension of AbstractUserDetailsAuthenticationProvider supports the ability to specify a GrantedAuthoritiesMapper to map (legacy?) authorities to something more friendly to use with Spring Security.

However the PreAuthenticatedAuthenticationProvider does not extend AbstractUserDetailsAuthenticationProvider and does not provide the same mechanism.

We find ourselves in the need to provide such a mechanism by our own by extending PreAuthenticatedAuthenticationProvider, however we would find it extremely useful if Spring Security provided this out-of-the-box.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: aclAn issue in spring-security-acltype: enhancementA general enhancementtype: jiraAn issue that was migrated from JIRA

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions