Spring Security: How to Use AuthenticationFailureHandler With REST
If you've used the Google to learn about how to implement AuthenticationFailureHandler with Spring Security, you might have noticed that most of the results deal with embedded login forms.