Call to j_spring_security_logout not working

前端 未结 6 1255
滥情空心
滥情空心 2020-12-16 11:52

I\'m trying to setup the logut of my application with j_spring_security_logout but for some reason it\'s not working, I keep getting a 404 error.

I\'m calling the fu

6条回答
  •  长情又很酷
    2020-12-16 12:13

    the logout-url refers to a virtual URL, you need not have any resource by that name. You can do either this:

    
    

    and the link on your page like this

    
    Log Out
    

    OR this:

    
    

    and the link as follows:

    
    Log Out
    

    You were mixing both thats why you were getting 404 error.

提交回复
热议问题