2

I have been trying to migrate from spring 3.2 to 4.1. I am using spring 4 jars. I have been struggling with this task. Spring security authentication-success-handler-ref is not getting called after successful authentication by CustomAuthenticationManager. Even default-target-url is also not working. even after loging I stay on the same page and not getting redirected.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Anup Seth
  • 31
  • 5
  • If authentication is successful, the resulting Authentication object will be placed into the SecurityContextHolder. The configured AuthenticationSuccessHandler will then be called to either redirect or forward the user to the appropriate destination. By default a SavedRequestAwareAuthenticationSuccessHandler is used, which means that the user will be redirected to the original destination they requested before they were asked to login. For me the configured success handler is not getting called – Anup Seth Jul 06 '16 at 09:43

0 Answers0