摘要: 简介 spring Security 是针对spring项目的安全框架,也是springBoot底层安全模块默认的技术选型,他可以实现强大的web安全控制,我们仅需要引入spring-boot-starter-security模块,进行少量的配置,即可实现强大的安全管理 记住几个类: WebSecu 阅读全文
posted @ 2022-03-17 21:33 小罗要有出息 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 密码编码问题 没有对密码进行加密 @Override protected void configure(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication() .withUser("roo 阅读全文
posted @ 2022-03-17 21:07 小罗要有出息 阅读(205) 评论(0) 推荐(0) 编辑