首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >@EnableResourceServer @EnableAuthorizationServer是否已弃用?

@EnableResourceServer @EnableAuthorizationServer是否已弃用?
EN

Stack Overflow用户
提问于 2019-12-19 16:00:32
回答 2查看 17.4K关注 0票数 26

我正在编写一个简单的应用程序来测试Oauth。但是我发现@EnableResourceServer @EnableAuthorizationServer这两个注解都被弃用了!

我找不到其他方法来处理它,我也找不到任何信息。

配置资源服务器和身份验证服务器的最新方法是什么?

谢谢!

EN

回答 2

Stack Overflow用户

发布于 2020-06-19 22:44:27

正如之前的评论所暗示的那样,它最初被丢弃了,但最近又被重新命名为https://github.com/spring-projects-experimental/spring-authorization-server

请参阅新闻帖子here

票数 7
EN

Stack Overflow用户

发布于 2020-11-27 04:47:08

从…

https://spring.io/blog/2019/11/14/spring-security-oauth-2-0-roadmap-update

代码语言:javascript
运行
复制
In 2019, there are plenty of both commercial and open-source authorization servers available. Thus, the Spring Security team has decided to no longer provide support for authorization servers.

UPDATE: We’d like to thank everyone for your feedback on the decision to not support Authorization Server. Due to this feedback and some internal discussions, we are taking another look at this decision. We’ll notify the community on any progress.

基本上spring drop支持身份验证服务器,因为有很多好的服务已经在运行,不需要重新发明whel。但是他们正在重新考虑它,我想这是为了给sprig框架更多的空间。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59405465

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档