I have a spring boot application, and I can easily write an interceptor something like RequestBodyAdviceAdapter
that will allow me to intercept the incoming request. The problem with this approach is that it seems to intercept things right before the @Controller class... Is there something that will intercept a request very early on? Like before LDAP Authentication. I have a pointcut that is intercepting some things before my RequestBodyAdviceAdapter
, but havent found any other ways to intercept things before my RequestBodyAdviceAdapter
. Thus my question is, is there something that exist, or explains what happens before the @Controller and how I could possibly intercept it like right as soon as the request actually enters into my service long before the @Controller?
Thanks,