spring security
前后端分离 SpringBoot整合SpringSecurity权限控制(动态拦截url)
https://blog.csdn.net/weixin_39792935/article/details/84541194?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.control
SpringBoot+SpringSecurity+jwt整合及初体验
https://www.cnblogs.com/pjjlt/p/10960690.html
Spring Security + JWT 前后端分离
https://www.jianshu.com/p/5b9f1f4de88d
手把手带你入门 Spring Security!
https://www.cnblogs.com/lenve/p/11242055.html
//其他人登录相同账号
http.sessionManagement().maximumSessions(1).expiredUrl("/login?error=other");
http.sessionManagement().sessionAuthenticationErrorUrl("/login?error=sessionAuthentication");
//session过期
//http.sessionManagement().invalidSessionUrl("/login?error=sessionvalidata");