11

I want to put some additional checks (in a filter) to some parameters after the request is authenticated by Spring and based on those checks want to allow or block the login. If the checks fails then I want to send a 401 in response instead of 200 which spring sends. Any help will be highly appreciated.

Thanks in advance!

  • See https://stackoverflow.com/questions/23621037/return-http-error-401-code-skip-filter-chains – TomB Aug 27 '18 at 13:17

0 Answers0