Spring Security
6.1.0快速开始
使用
Spring Initializr 引导您的应用程序.
文档
每个 Spring 项目 都有自己的项目;它详细地解释了如何使用 项目特性,以及利用它们可以实现什么。
6.1.0 CURRENT GA | 官方参考文档. | API Doc. | |
6.0.3 GA | 官方参考文档. | API Doc. | |
6.0.0 GA | 官方参考文档. | 中文参考文档. | API Doc. |
5.8.3 GA | 官方参考文档. | API Doc. | |
5.7.8 GA | 官方参考文档. | API Doc. | |
5.6.7 GA | 官方参考文档. | 中文参考文档. | API Doc. |
5.4.6 GA | 官方参考文档. | 中文参考文档. | API Doc. |
5.3.9.RELEASE GA | 官方参考文档. | 中文参考文档. | API Doc. |
5.2.8.RELEASE GA | 官方参考文档. | 中文参考文档. | API Doc. |
分支 | 版本发布日期 | 社区支持结束日期 | 商业支持结束日期 * |
---|---|---|---|
6.1.x
|
2023-05-15 | 2024-05-15 | 2025-09-15 |
6.0.x
|
2022-11-21 | 2023-11-21 | 2025-03-21 |
5.8.x
|
2022-11-20 | 2023-11-20 | 2025-03-20 |
5.7.x
|
2022-05-16 | 2023-05-16 | 2024-09-16 |
5.6.x
|
2021-11-15 | 2022-11-15 | 2024-03-15 |
5.5.x
|
2021-05-18 | 2022-05-18 | 2023-09-18 |
社区支持
在 Spring 社区的支持下免费进行安全更新和错误修复。 请参阅 VMware Tanzu OSS 支持策略.
商业支持
在 OSS 期限内由 Spring 专家提供专业业务支持,并在 OSS 生命周期结束后提供扩展支持。
应客户要求公开发布关键错误修复和安全问题。
未来版本
未发布 GA 版本,时间表可能会发生变化。.
尝试使用一些简单的示例开始:
- Hello Security with Spring MVC Getting started with Spring Security using Spring Boot and Spring MVC including example SecurityFilterChain and UserDetailsService @Beans.
- Hello Security with Spring WebFlux Getting started with Spring Security using Spring Boot and Spring WebFlux including example SecurityWebFilterChain and ReactiveUserDetailsService @Beans.
- Hello Security with Kotlin and Spring MVC Getting started with Spring Security using Kotlin with Spring Boot and Spring MVC including example SecurityFilterChain and UserDetailsService @Beans.
- Getting started with Spring Security using Kotlin with Spring Boot and Spring WebFlux including example SecurityWebFilterChain and ReactiveUserDetailsService @Beans. Getting started with Spring Security using Kotlin with Spring Boot and Spring WebFlux including example SecurityWebFilterChain and ReactiveUserDetailsService @Beans.
- Hello Security with OAuth 2.0 and Spring MVC Getting started with Spring Security using Spring Boot and Spring MVC demonstrating how to secure a stateless REST API with OAuth2 using Spring Authorization Server.
- Hello Security with OAuth 2.0 and Spring WebFlux Getting started with Spring Security using Spring Boot and Spring WebFlux demonstrating how to secure a stateless REST API with OAuth2 using Spring Authorization Server.
- Hello Security with RSocket Getting started with Spring Security using Spring Boot and RSocket including an example ReactiveUserDetailsService @Bean.
- Getting started with OAuth 2.0 Login and an OAuth 2.0 Provider or OpenID Connect 1.0 Provider using Spring Boot and Spring MVC. Getting started with OAuth 2.0 Login and an OAuth 2.0 Provider or OpenID Connect 1.0 Provider using Spring Boot and Spring MVC.
- OAuth 2.0 Login with Spring WebFlux Getting started with OAuth 2.0 Login and an OAuth 2.0 Provider or OpenID Connect 1.0 Provider with Spring Boot and Spring WebFlux.
- Spring Authorization Server Getting started with Spring Authorization Server and the Client Credentials grant using Spring Boot and Spring MVC.
- SAML 2.0 Login with Spring MVC Getting started with SAML 2.0 Login and a SAML 2.0 Identity Provider using Spring Boot and Spring MVC.
- LDAP Login with Spring MVC Getting started with LDAP and an embedded LDAP server using Spring MVC.
- Custom UserDetails with Spring MVC Example of how to customize the UserDetails and UserDetailsService with a custom user domain model using Spring Boot and Spring MVC.
- JWT Login with Spring MVC Example of how to mint and accept JWTs in Spring Security without a separate authorization server using Spring Boot and Spring MVC.
- Multi-factor Authentication with Spring MVC Example of how to incorporate a multi-factor authentication flow with Spring Security using Spring Boot and Spring MVC.
- Spring Security Samples Complete samples repository with additional samples demonstrating how to use Spring Security such as with method security, Spring Data, JDBC, AspectJ, multi-tenant resource servers, pre-authentication, X-509 certificates, remember me, WebFlux.fn, using Spring Security without Spring Boot (Java configuration and XML) and more.