Tuesday, 8 October 2019

Handling Security Exceptions in Spring Boot


Actually, handling exceptions thrown in the security is different from handling ones thrown from the rest APIs, for they happens in the filters before reaching the Servlet dispatcher.

Hence, we cannot handle security-relevant exceptions in @ControllerAdvice and @ExceptionHanlder,  it needs a different way


No comments:

Can Jackson Deserialize Java Time ZonedDateTime

Yes, but must include JSR310. Thus ZonedDateTime can be deserialized directly from JSON response to POJO field. <dependency> <g...