摘要: 转载:https://juejin.im/post/6844903924248346637#heading-2 https://blog.csdn.net/HD243608836/article/details/104613323?utm_medium=distribute.wap_relevant 阅读全文
posted @ 2020-08-12 22:32 路要一步一步走 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.jianshu.com/p/80b404da976b 阅读全文
posted @ 2020-08-12 14:36 路要一步一步走 阅读(2683) 评论(0) 推荐(0) 编辑
摘要: public class SpringSecurityUtil { //session 由controller 注入参数传入 public static String currentUser(HttpSession session) { SecurityContextImpl securityCon 阅读全文
posted @ 2020-08-12 13:56 路要一步一步走 阅读(6130) 评论(0) 推荐(0) 编辑
摘要: 获取session,设置session @RequestMapping(value = "/loginUser", produces = {"text/html;charset=utf-8"}, method = RequestMethod.POST) public String login(@Re 阅读全文
posted @ 2020-08-12 13:54 路要一步一步走 阅读(1178) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/Terry-Wu/p/8134732.html 阅读全文
posted @ 2020-08-12 11:30 路要一步一步走 阅读(145) 评论(0) 推荐(0) 编辑