基本信息
文件名称:后端框架:Spring Boot:SpringBoot安全框架SpringSecurity应用.docx
文件大小:30.33 KB
总页数:17 页
更新时间:2025-08-04
总字数:约2.07万字
文档摘要

PAGE1

PAGE1

后端框架:SpringBoot:SpringBoot安全框架SpringSecurity应用

1SpringSecurity简介

1.1SpringSecurity的核心概念

SpringSecurity是一个强大的、高度可定制的身份验证和访问控制框架。它提供了许多功能,包括登录、注销、访问控制、加密、防止跨站请求伪造(CSRF)等。SpringSecurity的核心概念包括:

Authentication(认证):确定用户的身份,通常通过用户名和密码。

Authorization(授权):控制用户可以访问哪些资源。

Security