title: How to intercept and handle 401 HTTP error in Spring
body: <p>I am using Spring boot 2.2.9 and i am having a problem getting the entry point for 401 HTTP error, i am trying to change the behavior for my response like we can do with the spring error handler(ResponseEntityExceptionHandler class) for other http errors
  thanks</p>