Tag: interceptor
-
How to encrypt PHI or PII or PCI data on Response Body from HandlerInterceptor in SpringBoot ?
HandlerInterceptor gets called before the appropriate HandlerAdapter triggers the execution of the handler itself. This mechanism can be used for a large field of preprocessing aspects, e.g. for authorization checks, or common handler behavior like locale or theme changes. Its main purpose is to allow for factoring out repetitive handler code. There are many ways…