Spring security not hitting default-target-url after successful authtication

前端 未结 4 1222
暗喜
暗喜 2020-12-10 14:21

I have implemented spring-security in my application, my spring-security.xml has following form-login tag.



        
4条回答
  •  醉酒成梦
    2020-12-10 14:44

    As you can see in the image, there is some kind of bad design (IMO It always redirect to the default-target-url). When you go to the login form from a forbidden resource, it will redirect you to that URL and not going thru the default-target-url

    http://i.stack.imgur.com/fj9ou.png

提交回复
热议问题