suhe
V2EX  ›  Java

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

  •  
  •   suhe · Jun 2, 2016 · 7011 views
    This topic created in 3653 days ago, the information mentioned may be changed or developed.
    我有点想用 jfinal 框架, mysql + redis 服务器
    4 replies    2016-06-02 23:59:46 +08:00
    iLtc
        1
    iLtc  
       Jun 2, 2016
    服务端模块我当时从这里找的 http://oauth.net/code/
    zhenjiachen
        2
    zhenjiachen  
       Jun 2, 2016
    spring security 。
    hantsy
        3
    hantsy  
       Jun 2, 2016   ❤️ 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
       Jun 2, 2016
    谢谢各位指点,好像 shiro 也能实现 oauth2 服务是吗?我现在用 shiro 做权限管理
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1331 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 17:22 · PVG 01:22 · LAX 10:22 · JFK 13:22
    ♥ Do have faith in what you're doing.