11 2021 档案

摘要:概述 上一篇文章中,引入 Spring Security 后,项目就被保护起来。但账号只有一个 user,密码也是每次启动项目时生成的。这样不符合实际项目需求,下面介绍其他配置账号密码的方式。Spring Security 有三种配置账号和密码的方式,分别是: 通过配置文件 通过配置类 自定义编写实 阅读全文
posted @ 2021-11-26 21:57 colin220 阅读(2205) 评论(0) 推荐(0) 编辑
摘要:Spring Security 简介 Spring Security is a framework that provides authentication, authorization, and protection against common attacks. With first class 阅读全文
posted @ 2021-11-24 22:31 colin220 阅读(398) 评论(0) 推荐(0) 编辑