An easy-to-use Apache Shiro framework and a complex and complete springboot security framework

Source: Internet
Author: User

Shiro is a powerful, easy-to-use Java security framework.

Enable authentication, authorization, encryption, session management

Primary concerns:authentication, Authorization, cryptography, Session Manager

Supporting Features:web support, caching cache, concurrency concurrency, testing, Run as thread, remember me remember password

Shiro Main architecture

1. Subject, currently participating in the Application Security section of the protagonist, can be a user, or a third-party service, or cron task (scheduled Task), or other.

The main expression is something that is interacting with the current software, and all subject need to be securitymanager, because these interactions are translated into interactions with SecurityManager.

2. SecurityManager, security Administrator.

The core of Shiro. But once configured, using less, developers spend most of their time on subject.

3. Realms field, is the connection Bridge of Shiro and user's application.

When it comes to interacting with secure data, like user accounts, access control, Shiro is found in one or more realms.

In addition, Shiro provides some realms that can be used directly, and can be customized if the default realms does not meet your needs.

An easy-to-use Apache Shiro framework and a complex and complete springboot security framework

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.