1. Create the mybatis-config.xml configuration file. The configuration is as follows:
<span style="font-size: 16px;"><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd">
<! -- global parameters -- &g ...
Posted on Thu, 02 Apr 2020 12:14:32 -0400 by swampster
Realm: domain, Shiro obtains security data (such as user, role, permission) from realm, that is, if SecurityManager wants to verify the user's identity, it needs to obtain the corresponding user from realm for comparison to determine whether the user's identity is legal; it also needs to obtain the corresponding role / permission ...
Posted on Thu, 27 Feb 2020 02:47:09 -0500 by rubadub
Hello, welcome to the program workplace, where you need to improve technology, career planning, personal growth, sideline development and other articles.
Learn and improve with more small partners.
In the last article, Shiro is used to encrypt user information. Have you read all of them? Click to ...
Posted on Wed, 26 Feb 2020 03:40:20 -0500 by KeitaroHimura
Rights management - simple use of shiro
Permission management -- simple use of shiro
1. What is authority management
2. What is identity authentication
3. User name and password authentication process
4. Key objects
5. What is the authorization process
6. Ba ...
Posted on Tue, 25 Feb 2020 09:38:16 -0500 by J.Daniels
First go to shiro's official website to download the source code http://mirror.bit.edu.cn/apache/shiro/1.5.0/shiro-root-1.5.0-source-release.zip
Unzip into the samples directory after downloading
Then enter the quickstart directory
Now that you are familiar with it, the next task is to copy ...
Posted on Sat, 08 Feb 2020 21:08:29 -0500 by apw
1 what is session management of shiro
2 application scenario analysis
3. Shiro and redis unified session management
The 4 step:
4.1 introduce dependency
4.2 add redis configuration to spring boot configuration file
4.3 custom shiro session manager
4.4 configure Shiro's redis based ...
Posted on Thu, 06 Feb 2020 08:05:06 -0500 by akkad
Spring boot integration persistence layer
Persistence layer is the core operation of accessing database in Java EE. Spring boot provides automatic configuration for common persistence layer frameworks, such as JDBC template, JPA, etc. MyBatis provides automatic configuration officially.
Integrate JDB ...
Posted on Wed, 05 Feb 2020 01:04:42 -0500 by fiddler80
shiro: Security Management Framework
Subject: the entity class to be verified also serves as the external interface of shiro framework
Security Manager: Security Manager, the core of shiro framework, is responsible for calling other modules for authorization and authentication
Posted on Thu, 30 Jan 2020 09:56:56 -0500 by Distant_storm
In the last article, I gave a preliminary introduction to shiro. The integration of ssm and shiro does not eliminate many steps like the integration of springboot and springsecurity. The integration of ssm and shiro is very close to the non web usage of shiro. This article will explain the p ...
Posted on Mon, 20 Jan 2020 05:31:46 -0500 by jeff_lawik
For users without access rights, you need to go to the login form page. There are many ways to implement access control, such as Aop, interceptor, or framework (such as Apache Shiro, Spring Security).
pom.xml add dependency
3 <artifactI ...
Posted on Mon, 06 Jan 2020 13:28:15 -0500 by WhiteHawk