Follow today The blogger Learn the back-end registration encryption and login decryption functions.
1. To be honest, I didn't understand the application of Shiro framework in springboot. So I put the code to record what I did:
First, the realm class of the realm package:
import com.exa ...
Posted on Mon, 03 Feb 2020 08:07:24 -0800 by Kunax
A few days ago, I did a small project of drawing beds. Shiro was used as the security framework. In order to make users access 7x24 hours, it is decided to upgrade the project from stand-alone to cluster deployment architecture. However, the security framework Shiro only has session Dao of stand-alone storage. Although Shrio has a mult ...
Posted on Mon, 13 Jan 2020 06:06:06 -0800 by holstead
Some of the pictures can't be seen clearly. There are: https://github.com/nice01qc/s...GitHub resources have been uploaded
shiro Introduction (personal understanding)
shiro is a framework for managing user rights. Here is my reading process, and some small summary, and the source code can be run. If shiro is compared to a samurai, the security ...
Posted on Tue, 03 Dec 2019 04:02:53 -0800 by Syphon
* SSM integrated Shiro integrated menu example
*SSM integrated Shiro for authentication
* copy RoleUsers,RolePermissions
* add passwordSalt to the User class (and survive the set/get method)
* add roles, permissions, user roles in database hx01
*Modify user table
Posted on Sun, 01 Dec 2019 07:19:10 -0800 by ProblemHelpPlease
Developing pingss sys scaffold( Project address )It is necessary to manage permissions in a distributed microservice environment. There are two common modes:
Based on session, the session is serialized to realize session sharing of multiple systems. It can be implemented by shiro+redis, and there are ready-made ...
Posted on Wed, 27 Nov 2019 10:00:00 -0800 by mishasoni
I have been dealing with GitLab, Jenkins and Docker for more than a month. I have installed various services on Linux and wrote Shell scripts. I feel like I am a semi professional operation and maintenance personnel. Today, I went back to the code and looked at the authority management interface of the 8.8-yuan system. Authentication and author ...
Posted on Fri, 22 Nov 2019 07:31:52 -0800 by deft
1. What is shiro
shiro is a java security framework, providing authentication, authorization, session management, encryption and other functions.
2. Core components
subject: indicates the current operation user (including user, third-party process, background account); represents the current user's s ...
Posted on Wed, 13 Nov 2019 10:02:47 -0800 by beedie
1. Use spring boot +mybatis-plus+shiro+maven to build the project framework
Posted on Mon, 11 Nov 2019 14:33:24 -0800 by jlive
In daily development, we often use try catch to handle exceptions. This code has strong repeatability. Through @ controllerAdvice annotation, exceptions can be defined globally, which greatly reduces the try catch of code.
import com.vicrab.api.bean.OperateCode;import com.vicrab.api.server.model.OperateResult;import org.apach ...
Posted on Mon, 11 Nov 2019 07:40:26 -0800 by elnino
RBAC user role permissions
User role authority department management core interface introduction
Shiro permission configuration
👉 Shiro permission configuration
Database model diagram
👉 Spring boot plus initializes SQL Download
Get verification code
Can be configured to enable the verification code
Default not enabled
If verification ...
Posted on Mon, 04 Nov 2019 09:13:18 -0800 by batfastad