spring - Spring 中的 spring-security-oauth2 与 spring-security-oauth2-core
问题描述
spring-security-oauth2和spring-security-oauth2-core有什么区别?spring-security-oauth2 是否被 spring-security-oauth2-core 取代?
spring-security-oauth2 发布链接: http ://repo.spring.io/release/org/springframework/security/oauth/spring-security-oauth2/
spring-security-oauth2-core 发布链接 http://repo.spring.io/release/org/springframework/security/spring-security-oauth2-core/
解决方案
是的,有很大的不同。spring-security-oauth2(Spring Security OAuth 项目)不再被积极开发。
展望未来,它将在 Spring Security 5 中实现(在 spring-security-oauth2-core 中)。这很令人困惑,因为许多教程使用以前的 Spring Security OAuth(@EnableResourceServer
,@EnableAuthorizationServer
和@EnableOAuth2Sso
注释通常会放弃它)。
推荐阅读
- git - GitLab:管理员但无法更新我在项目中的角色
- wordpress - 如何在我的插件中检查现有的 Google Maps API 密钥
- json - 在 Spring MVC 中解析 JSON 有效负载
- java - Redis 缓存 Map
- javascript - 带有chart.js 的多个动态折线图| js和html
- javascript - 在外部 .js 文件中使用 .vue 组件时如何使用相同的变量?
- reactjs - React - 在“小组件”上过度使用
- javascript - 克隆 html 并提供具有所需属性的唯一 ID
- c# - 复合键和 IsRequired(false)
- machine-learning - 具有可变元素计数的有序列表作为机器学习的特征