spring-oauth-server 0.3 发布, Oauth2与Spring Security安全应用整合

spring-oauth-server 0.3版本发布, spring-oauth-server 是一个整合Oauth2与Spring Security的安全应用项目,是从https://github.com/spring-projects/spring-security-oauth/tree/master/spring-security-oauth2扩展的符合实际项目需要的示例项目.

0.3版本是项目创建后的第一个重大版本, 更新内容如下:

  • #74 – oauth mysql ddl add create_time, default is now()
  • #75 – Add user information API, for spring-oauth-client project use
  • #77 – User add Privilege domain. Addition initial two user: unityuser(ROLE_UNITY),mobileuser(“ROLE_MOBILE). If default user, return all privilegs, otherwise return specify privilege(s)
  • #78 – Initial ‘sprint-oauth-client’ project(maven), add sub-modules#78 – Initial ‘sprint-oauth-client’ project(maven), add sub-modules
  • #91 – User log4j replace logback dependency
  • #92 – Add database table column description. (添加数据库表的字段说明)
  • #93 – 将默认的 oauth_code存入数据库(当前是存入内存)
  • spring-oauth-server project add Bootstrap CSS
  • #95 – Add ‘client-details’ management; create/delete, show testing links

 

0.3版本访问地址: http://git.oschina.net/shengzhao/spring-oauth-server/tree/0.3/

项目地址: http://git.oschina.net/shengzhao/spring-oauth-server

 

 

spring-oauth-server Maven配置说明

spring-oauth-server项目使用Maven进行管理, 开发使用的版本号是3.1.0

该项目是一个标准的符合Maven目录规则的项目.更多细节内容请参考Maven的相关文章.

 

以下主要对项目的pom.xml文件进行详细必要的说明与配置注意.

1.<properties>

该部分主要配置项目的各项设置与开关,包括项目依赖的主要框架的版本号, 单元测试配置, sql-maven-plugin插件的配置等. 详细见下图

properties

 

2.maven-compiler-plugin与maven-war-plugin

maven-compiler-plugin用于JAVA编译时; maven-war-plugin用于生成WAR包时.详细见下图

plugin

 

 

OK,若需要更多关于项目maven的配置与说明的帮助, 请发送邮件到 monkeyk@shengzhaoli.com 或在 Oauth问答中提出来.

 

 

 

 

spring-oauth-client 0.1版本发布, Oauth客户端参考实现

spring-oauth-client是基于spring-oauth-server开源项目的Oauth客户端代码参考实现.

项目的实现根据Oauth协议支持的5类grant_type(对grant_type的说明请访问 Oauth支持的5类 grant_type 及说明)依次去实现, 并对每一步的操作要求,请求参数,使用场景等进行详细的说明.

Change Log:

  • Initial ‘spring-oauth-client’ project
  • Implement ‘authorization_code ‘  grant type process
  • Implement ‘password’ grant type process
  • Implement ‘implicit’ grant type process
  • Implement ‘client_credentials’ grant type process
  • Implement ‘refresh_token’ grant type process

 

0.1版本访问地址: http://git.oschina.net/mkk/spring-oauth-client/tree/V-0.1

项目地址: http://git.oschina.net/mkk/spring-oauth-client

 

请跟随你的心,继续前行

似乎翻看着过去的日志,也会淡然一笑,纵使那是苦笑。因为这就是你的过去,你的所思,你的所写。

所谓动就是把这些静的东西重复。而问题的关键就在于区分静的力度有多小,多小的时间来判断它是静还是动,或许根本区分不了罢了,又或许这就是不完美……

世界本来就不完美,注意这里所谈的完美不是指感情完美,婚姻完美,生活完美等基于人类感情的完美。而是指世界构造的完美,客观的完美。正如许多的科学无法合理分析解释的种种,那个π。

任何的光鲜都是以另一处的肮脏为基调的。或许你从没听过这句话,因为这是我刚才说出来的。

无以料记,你还的继续,并不因为你把所有东西都考虑清楚完整后的决定才是完美的--因为本无完美一说。你的继续前行,多余的思考只在于你使用钱的多少罢了,至于值或不值,请不用想,钱不花,不交易,何谈价值。更多的在于你所值的更多,而不是你节约的更多。

走弯路也是人生的一部分,弯多,弯少;或是弯小弯大有区别罢了。摆阔心态,继续行动。

无奈以表述你的心情,请交由文字来描述。当表达由你的心里游离在纸上时,或许你的心会有所释然。字带走了你心里无形的东西,最终又归于无形,因为时间已过去。

当过去的时间是一年,一个月,或是一周,一天你会有所察;而对于刚过去的一分,一秒,一时,你又是何以应答。

无关任何的感情,请跟随你的心,继续前行。前路何方,前路早已注定。