Vue Cli3+SpringBoot

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: package realm; import com.exa ...

Posted on Mon, 03 Feb 2020 08:07:24 -0800 by Kunax

Shiro integration Redis of SpringBoot 2.x development case

Preface 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

shiro source learning record

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

06-SSM integrated Shiro integrated menu example

* 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 *Add dependency <depend ...

Posted on Sun, 01 Dec 2019 07:19:10 -0800 by ProblemHelpPlease

Pingssys Shiro JWT stateless permission authentication

1. background 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

Understand Shiro

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

Shimo + springboot using demo

shiro+springboot use 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

New Bird Hand Shiro Shiro Shiro Certification Process

1. Use spring boot +mybatis-plus+shiro+maven to build the project framework 1 <!--shiro--> 2 <dependency> 3 <groupId>org.apache.shiro</groupId> 4 <artifactId>shiro-core</artifactId> 5 <version>1.4.0</version> 6 </dependency> 7 ...

Posted on Mon, 11 Nov 2019 14:33:24 -0800 by jlive

Spring boot uses @ ControllerAdvice to annotate global system exceptions

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

Spring boot plus v1.4.0 release integration user role authority department management

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