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