Is there any difference in
Authentication auth= authenticationManager.authenticate(authentication);
and
Authentication auth= authenticationProvider.authenticate(authentication);
Is there any difference in
Authentication auth= authenticationManager.authenticate(authentication);
and
Authentication auth= authenticationProvider.authenticate(authentication);