The list of {@link AuthenticationProvider}s will be successively tried until an AuthenticationProvider indicates it is capable of authenticating the type of Authentication object passed. Authentication will then be attempted with that AuthenticationProvider.
If more than one AuthenticationProvider supports the passed Authentication object, only the first AuthenticationProvider tried will determine the result. No subsequent AuthenticationProviders will be tried.
@param authentication the authentication request object.
@return a fully authenticated object including credentials.
@throws AuthenticationException if authentication fails.
| |
| |