Skip to main content

spring-security

Provides comprehensive guidance for Spring Security including authentication, authorization, OAuth2, JWT, and security best practices. Use when the user asks about Spring Security, needs to implement security in Spring applications, configure authentication, or work with security features.

跳到安装

来源信息

仓库
full-stack-skills/spring-skills
最近来源活动
2026年9月15日 09:47
检测到的 SKILL.md 语言
多语言混合
星标
2
分支
3

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
spring-security
description
Provides comprehensive guidance for Spring Security including authentication, authorization, OAuth2, JWT, and security best practices. Use when the user asks about Spring Security, needs to implement security in Spring applications, configure authentication, or work with security features.
license
Apache-2.0
## When to use this skill Use this skill whenever the user wants to: - 用 Spring Security 配置认证、授权、会话与安全头 - 集成 OAuth2、JWT、方法安全与 CSRF ## How to use this skill 1. **配置**:SecurityFilterChain、UserDetailsService、PasswordEncoder;登录/登出与异常处理。 2. **进阶**:JWT、OAuth2 客户端/资源服务器;@PreAuthorize、CORS。 3. **参考**:https://docs.spring.io/spring-security/reference/ ## Best Practices - 密码加密、会话与 Cookie 安全;最小权限与角色设计。 - 生产用 HTTPS 与安全头;敏感路径保护。 ## Keywords spring security, 认证, 授权, JWT, OAuth2
在 GitHub 查看