V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
arbit
V2EX  ›  问与答

spring security oauth2 过时

  •  
  •   arbit · 2020-10-06 18:06:40 +08:00 · 2787 次点击
    这是一个创建于 1290 天前的主题,其中的信息可能已经有所发展或是发生改变。

    项目里用到了 spring oauth2 模块,现在相关模块的类都提示过时了,大家权限这块有用到吗,有什么比较简单的替代方案吗

    7 条回复    2020-10-07 09:09:28 +08:00
    chihiro2014
        1
    chihiro2014  
       2020-10-06 20:10:04 +08:00
    换成 Spring Security 5.2+
    arbit
        2
    arbit  
    OP
       2020-10-06 20:43:49 +08:00
    @chihiro2014 请问有没有相关的教程,5.2 和 oauth2 相差也挺多的,好像没有授权方案
    chihiro2014
        3
    chihiro2014  
       2020-10-07 03:57:45 +08:00 via iPhone
    @arbit 有一个和 RSocket 相关的 Spring Security 整合方案,视频睡醒了帮你找找
    yanguango
        4
    yanguango  
       2020-10-07 07:15:40 +08:00
    这个是我的一个项目的 Spring Security 的依赖,希望对你有帮助。
    ![]( )
    VHacker1989
        5
    VHacker1989  
       2020-10-07 09:05:21 +08:00
    好像 authorization Server 和 oauth2 都弃用了,因为跟 spring security5 重叠,直接迁移就行了
    spring.io/blog/2019/11/14/spring-security-oauth-2-0-roadmap-update
    VHacker1989
        6
    VHacker1989  
       2020-10-07 09:07:03 +08:00
    VHacker1989
        7
    VHacker1989  
       2020-10-07 09:09:28 +08:00
    authorization server 有很多开源实现,这也是 spring 官方放弃维护的原因 ,cas 、keycloak 、uaa
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3743 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:14 · PVG 08:14 · LAX 17:14 · JFK 20:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.