method not intercepted while authentication
Hi
i hav implemented my custom UserDetailsService and I am calling a secured method from loadUserByUserName(). But that method is not intercepted here. After the user is authenticated and logs in successfully, if I use that same secured method again it is intercepted. I tried to debug the code but found that chain is empty when that method is called from loadUserByUsername. But chain is populated with MethodSecurityInterceptor if same method is called from some where else.
Is it the feature provided by SpringSecurity to not to intercept method while authentication? or I am making some mistake.
Kindly help.
Thanks