Hello, i need to intercept some protected methods of AbstractRememberMeServices class.
How can explain me how i can intercept this type of methods? I see the spring aop documentation but dont find my answer.
Thanks a lot
Hello, i need to intercept some protected methods of AbstractRememberMeServices class.
How can explain me how i can intercept this type of methods? I see the spring aop documentation but dont find my answer.
Thanks a lot
The note in section 7.2.3.1 states.
To intercept protected methods you need to use native AspectJ loadtime weaving.Due to the proxy-based nature of Spring's AOP framework, protected methods are by definition not intercepted, neither for JDK proxies (where this isn't applicable) nor for CGLIB proxies (where this is technically possible but not recommendable for AOP purposes). As a consequence, any given pointcut will be matched against public methods only!
thanks, i will explore it