Open
Description
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?