SEC-2154: Provide support for the GrantedAuthoritiesMapper to PreAuthenticatedAuthenticationProvider #2379
Labels
in: acl
An issue in spring-security-acl
type: enhancement
A general enhancement
type: jira
An issue that was migrated from JIRA
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?
The text was updated successfully, but these errors were encountered: