spring boot security 实现登陆时ajax请求返回json,而不是直接页面跳转
本文链接:https://blog.youkuaiyun.com/zxl315/article/details/73224717
1、编写自己的SuccessHandler
public class AuthenticationSuccessHandler extends SimpleUrlAuthenticationSuccessHandler {
public void onAuthentication...
原创
2019-11-13 02:12:09 ·
783 阅读 ·
0 评论