From 1740cb6b6d3bf14d9dd64a943464566285c12c6f Mon Sep 17 00:00:00 2001 From: monkeyk7 Date: Sat, 21 Apr 2018 17:00:46 +0800 Subject: [PATCH 01/20] Update readme --- README.md | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 416da02..434778f 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,20 @@
-Java Config版本请访问Branch: config +Spring-Boot版本请访问Branch: config -MongoDB版本请访问Branch: mongodb +MongoDB版本请访问Branch: mongodb OAuth2下一代身份认证授权协议OIDC实现: MyOIDC

- OAuth2客户端项目请访问 spring-oauth-client + OAuth2客户端项目请访问 spring-oauth-client

在线测试访问地址 http://andaily.com/spring-oauth-server/

- Shiro与OLTU整合的OAuth2项目 http://git.oschina.net/mkk/oauth2-shiro + Shiro与OLTU整合的OAuth2项目 https://gitee.com/mkk/oauth2-shiro (相比spring-oauth-server, 该项目入门门槛相对较低, 代码更加透明, 理解更容易,可扩展性更强, 且模块化开发)


@@ -44,7 +44,7 @@ 项目是Maven管理的, 需要本地安装maven(开发用的maven版本号为3.1.0), 还有MySql(开发用的mysql版本号为5.6)
  • -下载(或clone)项目到本地 +下载(或clone)项目到本地
  • 创建MySQL数据库(如数据库名oauth2), 并运行相应的SQL脚本(脚本文件位于others/database目录), @@ -52,7 +52,7 @@ 运行脚本的顺序: initial_db.ddl -> oauth.ddl -> initial_data.ddl
  • -修改spring-oauth-server.properties(位于src/main/resources目录)中的数据库连接信息(包括username, password等) +修改spring-oauth-server.properties(位于src/main/resources目录)中的数据库连接信息(包括username, password等)
  • 将本地项目导入到IDE(如Intellij IDEA)中,配置Tomcat(或类似的servlet运行服务器), 并启动Tomcat(默认端口为8080); @@ -63,7 +63,7 @@ 将war放在Tomcat中并启动(注意: 这种方式需要将spring-oauth-server.properties加入到classpath中并正确配置数据库连接信息).
  • -参考oauth_test.txt(位于others目录)的内容并测试之(也可在浏览器中访问相应的地址,如: http://localhost:8080/spring-oauth-server). +参考oauth_test.txt(位于others目录)的内容并测试之(也可在浏览器中访问相应的地址,如: http://localhost:8080/spring-oauth-server).
  • @@ -93,8 +93,8 @@
  • - 如果在使用过程中遇到特殊的问题(如:如何将oauth_code存入数据库),请访问项目的 Wiki - 与 附件. + 如果在使用过程中遇到特殊的问题(如:如何将oauth_code存入数据库),请访问项目的 Wiki + 与 附件.
    我会把大家反馈的问题解决办法添加在这里.
    @@ -105,7 +105,7 @@

  • - 如果在使用项目的过程中发现任何的BUG或者更好的提议, 建议将其提交到项目的 Issues 中, + 如果在使用项目的过程中发现任何的BUG或者更好的提议, 建议将其提交到项目的 Issues 中, 我会一直关注并不断改进项目.

  • @@ -115,10 +115,10 @@ 功能扩展
    1. - oauth_code存入数据库的配置, 请下载文件 oauth_code存入数据库的配置.jpg + oauth_code存入数据库的配置, 请下载文件 oauth_code存入数据库的配置.jpg
    2. - 改变token过期的时间的配置, 请下载文件改变token过期的时间的配置.jpg + 改变token过期的时间的配置, 请下载文件改变token过期的时间的配置.jpg
    3. 自定义 grant_type, 默认情况支持的grant_type包括 [password,authorization_code,refresh_token,implicit], 若不需要其中的某些grant_type, @@ -152,7 +152,7 @@

      从 0.3版本开始将项目的所有计划的开发内容列出来, 方便大家跟进, 也欢迎你加入.
      -项目的开发管理使用开源项目 andaily-developer. +项目的开发管理使用开源项目 andaily-developer.

      • @@ -227,7 +227,7 @@
        1. #73 - Upgrade 'spring-security-oauth2' version to '2.0.6.RELEASE' (current: 1.0.5.RELEASE) [CANCELED]

        2. #74 - oauth mysql ddl add create_time, default is now()

        3. -
        4. #75 - Add user information API, for spring-oauth-client project use +

        5. #75 - Add user information API, for spring-oauth-client project use

                   URL: /unity/user_info
                   Login: Yes (ROLE_UNITY)
          @@ -266,21 +266,21 @@
           

          1. 2013-11-19 Initial project, start push code

          2. -
          3. 2013-11-20 发布0.1版本

          4. +
          5. 2013-11-20 发布0.1版本

          6. 2015-05-06 发布0.2版本

          7. 2015-05-27 创建项目博客,访问地址 http://andaily.com/blog/?cat=19

          8. -
          9. 2015-06-07 发布0.3版本

          10. +
          11. 2015-06-07 发布0.3版本

          12. 2015-06-16 添加github访问: https://github.com/monkeyk/spring-oauth-server, 以后的更新将同步github与gitosc.

          13. 2015-11-09 开始开发 0.4-beta 版本

          14. -
          15. 2015-11-18 发布 0.4-beta 版本

          16. -
          17. 2016-01-02 发布 0.4 版本

          18. +
          19. 2015-11-18 发布 0.4-beta 版本

          20. +
          21. 2016-01-02 发布 0.4 版本

          22. 2016-02-19 Add 0.5 version development planning

          23. -
          24. 2016-04-03 Add config branch

          25. -
          26. 2016-04-14 Add mongodb branch

          27. -
          28. 2016-06-02 发布 0.5 版本

          29. +
          30. 2016-04-03 Add config branch

          31. +
          32. 2016-04-14 Add mongodb branch

          33. +
          34. 2016-06-02 发布 0.5 版本

          35. 2016-07-06 Add 0.6 version planning

          36. 2016-10-13 发布0.6版本

          -- Gitee From ae29d52feb53cf61a7b145cab03827ea2fcff2f4 Mon Sep 17 00:00:00 2001 From: monkeyk7 Date: Sat, 21 Apr 2018 17:03:50 +0800 Subject: [PATCH 02/20] Update readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 434778f..fc68899 100644 --- a/README.md +++ b/README.md @@ -283,6 +283,7 @@
        6. 2016-06-02 发布 0.5 版本

        7. 2016-07-06 Add 0.6 version planning

        8. 2016-10-13 发布0.6版本

        9. +
        10. 2018-04-21 发布2.0.0版本, spring-boot版本

        -- Gitee From 7b1e049dd86c120d488dc1b33069c0b471b0d7d5 Mon Sep 17 00:00:00 2001 From: monkeyk7 Date: Sat, 21 Apr 2018 17:05:17 +0800 Subject: [PATCH 03/20] Add config link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc68899..58993f9 100644 --- a/README.md +++ b/README.md @@ -283,7 +283,7 @@
      • 2016-06-02 发布 0.5 版本

      • 2016-07-06 Add 0.6 version planning

      • 2016-10-13 发布0.6版本

      • -
      • 2018-04-21 发布2.0.0版本, spring-boot版本

      • +
      • 2018-04-21 发布2.0.0版本, spring-boot版本

    -- Gitee From b4dedba35e2ca77aa57d199b5b95ce1fe680a824 Mon Sep 17 00:00:00 2001 From: monkeyk7 Date: Sat, 21 Apr 2018 17:09:40 +0800 Subject: [PATCH 04/20] Update readme --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 58993f9..e7d5efb 100644 --- a/README.md +++ b/README.md @@ -157,9 +157,23 @@