Spring Boot learning notes - Spring Boot integration Shiro

Spring Boot learning Official website: https://spring.io/projects/spring-boot#overview file: https://docs.spring.io/spring-boot/docs/2.2.6.RELEASE/reference/html/ Reference video: [crazy God says Java] the latest tutorial of SpringBoot, IDEA version, is easy to understand_ Beep beep beep_ bilibili Project complete reference code: lexi ...

Added by Fazer on Thu, 20 Jan 2022 23:52:53 +0200

Simple project deployment of shiro for springBoot

springboot2. Use Shiro under 0 framework introduce Shiro is an open source project under Apache. It is an easy-to-use security framework that provides many functions, including authentication, authorization, encryption, session management and so on. Shiro uses a relatively simple and easy-to-use authorization method. Shiro is a lightweight fr ...

Added by pleek on Wed, 19 Jan 2022 07:32:43 +0200

Swagger interface document knife4j based on system authentication

preface Six months ago, a set of Swagger interface document knife4j based on business system authentication was built, which works well, so the record is built. Pain point If the Swagger like interface document framework is not used, the general company will also build a set of independent interface document projects. For example, the co ...

Added by bladx on Fri, 07 Jan 2022 21:32:04 +0200

shiro's basic knowledge reserve -- certification process

shiro function and basic knowledge shiro mainly has two parts, one is authentication, the other is authorization Authentication: when a user logs in to the system, shiro will authenticate whether the user is a logged in user.Authorization: a system can have users in several roles, such as administrators or ordinary users. How to define admini ...

Added by snrecords on Mon, 03 Jan 2022 08:00:12 +0200

After successfully logging in shiro, jump to custom error HTML problem

After successfully logging in shiro, jump to error html Let's talk about the problem first: in the saas project, after logging in successfully, you jump to error HTML, pause for a while and enter the main page. Tell me about my steps to deal with this problem: Find out the login process of this page.Causes and timing of problems According ...

Added by centerwork on Sat, 25 Dec 2021 11:41:48 +0200

Crazy God Shiro notes

Shiro brief introduction Three cores: Subject, Shiro securitymanager, real Shiro SecurityManager manages Subjec frameworkAuthentication authentication and loginAuthorization, i.e. permission verification, verifies whether an authenticated user has a certain permissionSession Manager session management, session management inside the webCryp ...

Added by jamest on Fri, 24 Dec 2021 00:21:34 +0200

shiro certification process analysis

0 Preface shiro authentication process can start with subject.login(token). This section only analyzes the basic authentication process. Various authentication strategies of the authentication process and the credentialsMatcher of realm are not the focus of this section. Interested children's shoes can be analyzed by themselves. First, the test ...

Added by msound on Mon, 29 Nov 2021 05:24:27 +0200

Spring Boot integrates Shiro

catalogue 1, Construction project 1. Create a SpringBoot project 2. Create configuration class Custom UserRealm ShiroConfig 3. index and login pages 4. controller layer programming 5. Implement authentication in UserRealm Write resource access restrictions in ShiroConfig   2, MD5, Salt registration 1. New register.html 2. New t ...

Added by ec on Thu, 11 Nov 2021 23:03:16 +0200

6, Spring Boot integrates Shiro

6.1. Integration ideas 6.2. Create spring boot project Create a new webapp directory under main 6.3. Introducing shiro dependency <!--introduce Shiro rely on--> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring-boot-starter</artifac ...

Added by adamjblakey on Sat, 06 Nov 2021 22:38:00 +0200

SpringBoot+Shiro+JWT for login and rights control

Authentication and Authorization authentication The main thing to do to certify in the program is to find out who the visitor is and has he registered with our system? Is he a user in our system? If so, is this user blacklisted by us? This is what certification does. For example: To enter a scenic spot, you have to buy a ticket first. If y ...

Added by daena76 on Thu, 21 Oct 2021 16:42:37 +0300