OAuth and Shiro integrated open source projects

Source: Internet
Author: User


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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.