The Apache Oltu is a Java OAuth reference implementation;
Shiro is a lightweight framework for authority management;
The two are integrated to provide a lightweight OAUTH2 application framework, and provide different implementations (WEB, mobile end) according to different application scenarios. Provide the implementation of the 5 class grant_type based on OAuth;
Compared to the previously implemented Spring-oauth-server project, the project has the following characteristics:
more transparent -every step of the implementation has a view, easier to understand the code, an eye Also
more customizable and extensible-whether the content or format of the error return information can be customized as needed, and more specific implementations can be added to request parameters, processing details, etc.
more readable -because of Shiro, OLTU does not have the high threshold of spring security,spring-security-oauth2, all code is commonly used controller or Java beans to achieve various business, more readable , more easily understood
modularity --thanks to the modular design of OLTU, separates Authz and resources into different modules, which can be combined in a project or split into different modules, depending on the actual needs.
Well, don't say much. Go directly to the project and start experimenting. I hope it will be of some help to you.
Http://git.oschina.net/mkk/oauth2-shiro