Open
Description
AuthenticationManager
and AuthenticationProvider
have the same primary signature. In an effort to simplify the API, AuthenticationProvider
should be deprecated.
Here is an initial list:
- Have existing
AuthenticationProvider
s implementAuthorizationManager
- Add
DelegatingAuthenticationManager
to replaceProviderManager
- Introduce DSL support for specifying
AuthenticationManager
for each authentication mechanism - Use
AuthenticationManager
by default for each authentication mechanism - Deprecate
authentication-provider
XML support - Deprecate DSL support for
authenticationProvider()
- Consider creating
AuthenticationProviderManagerAdapter
to adaptAuthenticationProvider
s intoAuthenticationManager
s - Consider
@Bean
support for multipleAuthenticationManager
s