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

Hystix, Feign, Zuul gateway

1 Hystix 1.1 INTRODUCTION Hystix, i.e. fuse. Home page: https://github.com/Netflix/Hystrix/ As shown in the figure: Hystix is an open-source delay and fault-tolerant Library of Netflix, which is used to isolate access to remote services and third-party libraries to prevent cascading failures. As shown in the figure: 1.2. Working mechanism o ...

Added by djetaine on Wed, 10 Nov 2021 12:53:04 +0200

When I replaced the SpringBoot boot Banner with a teacher; Colleague: borrow a bu word

Guys, they're all here!! Hello, I'm Xiaohai! Let's play a fun configuration today. When we start the SpringBoot project, the console will output the SpringBoot logo and version related information! Many friends may not know that the logo can be customized, and it is very simple to customize. You only need to put a banner configuration unde ...

Added by christophe on Wed, 10 Nov 2021 09:16:36 +0200

Learning log (November 8, 2021) (1. Springboot integrates Junit, Mybatis, Redis and thymeleaf)

Learning content: learn SpringBoot (Day67) 1. Spring boot integrates Junit 2. Spring boot integrates Mybatis 3. Spring boot integrates Redis 4. Spring boot integrates thymeleaf 1. Spring boot integrates Junit (1) The new version integrates Junit5 by default <!--introduce test Scene launcher for--> <dependency> <groupId&gt ...

Added by suzzane2020 on Mon, 08 Nov 2021 17:16:35 +0200

SpringBoot combat based on minicube

Nowadays, more Internet companies are trying to move micro services to the cloud. This can manage micro service clusters more easily through some mature cloud container management platforms, thus improving the stability of micro services and improving the team development efficiency. However, there are some technical difficulties in cloud migra ...

Added by parka on Mon, 08 Nov 2021 02:35:30 +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

[Spring Boot practical tutorial] Spring Boot + Vue + mobile terminal project development practical tutorial (VIII. User center function implementation)

preface After so many days of basic project construction, the basic project configuration, project log, project management and database are finally established. You may encounter many problems. When you encounter a problem, you first think about how to solve it, rather than thinking that it is too difficult. I hope I can bring you some hel ...

Added by sadaf on Sat, 06 Nov 2021 20:37:24 +0200

Hematemesis solves the problem of null fields in MyBatis linked table query (3 tables) (using VO)

background I have just changed my job recently, and the interview questions will be sorted out and put up slowly at the weekend. Let's talk about this problem first. Just entering the new company, the leader directly asked me to participate in a project he was working on, Spring Boot+MyBatis+ Shiro +Vue. Anyway, these technology stacks are not ...

Added by prc on Fri, 05 Nov 2021 07:32:21 +0200

SpringBoot implements Excel import and export, which is easy to use, and POI can be thrown away

In our daily work, we often encounter the function of operating Excel, such as exporting an Excel report of user information or order information. You must have heard of POI, which can be realized. But the API implemented by POI is really troublesome. It needs to write line by line parsing code (similar to Xml parsing). Today, I recommend a ver ...

Added by andrin on Wed, 03 Nov 2021 09:52:49 +0200

Purpose of Spring event source

preface Spring is already very familiar with spring. Spring container state events are also daily functions, which are often used for decoupling. However, sometimes events will be repeatedly monitored. At this time, they need to be handled. source is also used for special purposes. 1. demo Construct a Spring boot application and write a list ...

Added by kappaluppa on Mon, 01 Nov 2021 14:44:43 +0200