Springsecurity的版本差异

  • 格式:pdf
  • 大小:35.23 KB
  • 文档页数:1

Springsecurity的版本差异

Spring Security OAuth

最新版本:2.5.1.RELEASE(已停⽌维护)

The 2.4.0 release officially deprecates all classes. The latest OAuth 2.0 support is provided by Spring Security.

Spring Security OAuth 2.4.0 正式弃⽤其所有类 See the for further details.

其中很多⽅法都已经被标注@Deprecated

The Spring Security OAuth project is deprecated. The latest OAuth 2.0 support is provided by Spring Security. See the for

further details.

This document contains guidance for moving OAuth 2.0 Clients and Resource Servers from Spring Security OAuth 2.x to Spring

Security 5.2.x. Since Spring Security doesn’t provide Authorization Server support, migrating a Spring Security OAuth

Authorization Server is out of scope for this document.

org.springframework.security.oauth

spring-security-oauth2

2.3.8.RELEASE

Spring Cloud Security

最新版本:2.2.5.RELEASE (引⼊该包需要指定其版本)

org.springframework.cloud

spring-cloud-starter-oauth2

2.2.5.RELEASE

include

org.springframework.cloud

spring-cloud-security

2.2.5.RELEASE

org.springframework.boot

spring-boot-starter-security

spring-cloud-security 使⽤的还是 spring-boot-starter-security,由于使⽤的spring-security-oauth2版本为2.3.4所以类未被提⽰弃⽤

spring security oauth2⽀持

迁移指南:

Spring Authorization Server⽬前还在开发

org.springframework.security.experimental

spring-security-oauth2-authorization-server

org.springframework.boot

spring-boot-starter-oauth2-resource-server

org.springframework.boot

spring-boot-starter-oauth2-client