V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
suhe
V2EX  ›  Java

想开发个 Oauth2 服务器,请推荐参考产品和开源框架。

  •  
  •   suhe · 2016-06-02 09:07:09 +08:00 · 6038 次点击
    这是一个创建于 2857 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我有点想用 jfinal 框架, mysql + redis 服务器
    4 条回复    2016-06-02 23:59:46 +08:00
    iLtc
        1
    iLtc  
       2016-06-02 09:25:42 +08:00
    服务端模块我当时从这里找的 http://oauth.net/code/
    zhenjiachen
        2
    zhenjiachen  
       2016-06-02 09:52:41 +08:00
    spring security 。
    hantsy
        3
    hantsy  
       2016-06-02 16:38:37 +08:00   ❤️ 1
    如果是应用需要,完全没必要。

    Spring Security OAuth 只需要简单配置就可以实现,参见其实例。

    http://projects.spring.io/spring-security-oauth/docs/tutorial.html

    另外 Apache 也有完整的 OAuth 服务器实现。

    https://oltu.apache.org/

    Oauth 规范和其扩展规范应该在 oauth.net 可以找到,实现一个 OAuth 服务器意味着你要实现最基本的规范。
    suhe
        4
    suhe  
    OP
       2016-06-02 23:59:46 +08:00
    谢谢各位指点,好像 shiro 也能实现 oauth2 服务是吗?我现在用 shiro 做权限管理
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5311 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:15 · PVG 15:15 · LAX 00:15 · JFK 03:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.