jQuery Ajax Timeouts with Spring Security
Here’s how we handled Ajax timeouts with Spring Security. In your login controller, set response status to 401. In your Ajax error callback, check for the 401 code and redirect to a page that is not the login page. If we redirect to the login page, Spring Security might go to Ajax request right after [...]

Recent Comments