0
点赞
收藏
分享

微信扫一扫

Spring Security 退出登录

崭新的韭菜 2022-06-20 阅读 28

设置一下 登录成功跳转的端点为 /test/index

Spring Security 退出登录_html

 

 

success.html:

Spring Security 退出登录_html_02

 

 

然后设置一下退出的端点 和 视图:

Spring Security 退出登录_html_03

 

 退出的端点是/logout,退出成功跳转到/test/index

 

主要还是设置一下退出的端点。

当你访问了 /logout 那么之前浏览器的全部授权都会清除,重新登录。


作者:​​咸瑜​​


举报

相关推荐

0 条评论