I have to define a different success handler during login in my addon. For that I added a new spring-security-config.xml and added the new bean for the success handler.
I tried to override the "loginAuthenticationSuccessHandler" bean definition. But this is still using the OOB login success handler.
Are there any more steps to configure the same?