當(dāng)前位置:
首頁(yè) >
前端技术
> javascript
>内容正文
javascript
Spring Security——org.springframework.security.oauth:spring-security-oauth2项目已过时解决方案
生活随笔
收集整理的這篇文章主要介紹了
Spring Security——org.springframework.security.oauth:spring-security-oauth2项目已过时解决方案
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
問(wèn)題描述
Maven?
<!--Spring Security--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-security</artifactId></dependency><!--Spring Security OAuth2--><dependency><groupId>org.springframework.security.oauth</groupId><artifactId>spring-security-oauth2</artifactId><version>2.4.0.RELEASE</version></dependency><dependency><groupId>org.springframework.security.oauth.boot</groupId><artifactId>spring-security-oauth2-autoconfigure</artifactId><version>2.2.2.RELEASE</version></dependency>官方文檔
https://docs.spring.io/spring-security/site/docs/5.2.3.RELEASE/reference/html5/
問(wèn)題分析
GitHub:https://github.com/spring-projects/spring-security-oauth
此項(xiàng)目已經(jīng)停止維護(hù)。
?
OAuth 2.0 Migration Guide:
https://github.com/spring-projects/spring-security/wiki/OAuth-2.0-Migration-Guide?
?GitHub中幾乎所有類都被打上已過(guò)時(shí)注解。
解決方案
GitHub?
https://github.com/spring-projects/spring-security/tree/master/oauth2?
Maven
<!--Spring Security--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-security</artifactId></dependency><!--Spring Security OAuth2--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-oauth2-client</artifactId></dependency>官方文檔
https://docs.spring.io/spring-security/site/docs/5.2.3.RELEASE/reference/html5/#oauth2
參考文章
?
總結(jié)
以上是生活随笔為你收集整理的Spring Security——org.springframework.security.oauth:spring-security-oauth2项目已过时解决方案的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Spring Security——OAu
- 下一篇: Spring Security——OAu