ApacheShiro is a powerful and easy-to-use Java security framework that provides functions such as authentication, authorization, encryption, and session management:
Apache Shiro User Manual (I) Shiro Architecture introduction
1. what is Shiro?
Apache Shiro is a powerful and easy-to-use Java security framework that provides functions such as authentication, authorization, encryption, and session management:
Authentication-user identification, often referred to as "logon ";
Authorization-access control;
Password encryption-protect or hide data to prevent spying;
Session Management-time-sensitive status of each user.
Shiro can provide comprehensive security management services for any application. Shiro is much simpler than other security frameworks.
II. Introduction to Shiro architecture
First, let's take a look at Shiro's three core components: Subject, SecurityManager, and Realms. for example:
The above is the description of the Shiro architecture in the Apache Shiro User Manual (I). For more information, see The PHP Chinese website (www.php1.cn )!