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
I don't understand. You call the most complete spring dispatcher request process analysis in the whole network. If you don't read it, you'll lose money
servlet
Before understanding the process of dispatcher servlet, we should first understand the technology of servlet.
In a narrow sense, servlet is just an interface. In a broad sense, it is a specification.
In traditional Java Web projects, the doGet and doPost methods are rewritten by inheriting HttpServlet (realizing the service interface ...
Added by tylerdurden on Thu, 21 Oct 2021 08:30:55 +0300
SpringBoot learning notes
Catalogue of series articles
Tip: you can add the directories of all articles in the series here. You need to add the directories manually For example, the first chapter is the use of pandas, an introduction to Python machine learning
Tip: after writing the article, the directory can be generated automatically. For how to generate it, pleas ...
Added by Rodis on Wed, 20 Oct 2021 21:05:48 +0300
Asynchronous call of @ Async annotation implementation method in Spring Boot project
1. Introduction
During the development of the company's projects, we often encounter the following scenarios: 1. When we call a third-party interface or method, we don't need to wait for the method to return to execute other logic. At this time, if the response time is too long, it will greatly affect the execution efficiency of the progra ...
Added by predator12341 on Mon, 18 Oct 2021 09:00:41 +0300
Spring security security framework
1. This article comes from Silicon Valley and is not suitable for beginners. 2. Come back with a certain foundation.
Part I
1, Understanding part
1. Introduction to spring security
Let's put it this way. It's a very boastful security framework. It mainly does two things: Authentication and Authorization
2. History
Its history, you can sea ...
Added by jiggens on Sat, 16 Oct 2021 20:53:30 +0300
9, Java loop structure of spring cloud distributed microservice Cloud Architecture for Java - for, while and do...while
Java loop structure - for, while and do...while
Sequential program statements can only be executed once.
Recommended distributed architecture Source address
If you want to perform the same operation multiple times, you need to use a loop structure.
There are three main loop structures in Java:
while loopdo&he ...
Added by emilyfrazier on Fri, 15 Oct 2021 03:51:51 +0300
4, Java objects and classes of spring cloud distributed microservice Cloud Architecture for Java
Java objects and classes
Java as an object-oriented language. The following basic concepts are supported:
polymorphicinheritencapsulationabstractclassobjectexamplemethodheavy load
In this section, we focus on the concepts of objects and classes. Recommended distributed architecture Source address source
Object: an object is an instance of ...
Added by mehdi110 on Thu, 14 Oct 2021 03:37:59 +0300
Sharding JDBC quick start
preface
Requirement description
Use sharding JDBC to complete the horizontal division of the order table, and quickly experience the use method of sharding JDBC through the development of quick start program.
Create two tables manually, t_order_1 and t_order_2. These two tables are the tables after splitting the order table. Insert d ...
Added by Mateobus on Tue, 12 Oct 2021 00:25:32 +0300
[SpringBoot learning notes 7] SpringBoot customizes and integrates JDBC Druid mybatis data source configuration
The previous blogs have studied the principles and practical tips of SpringBoot. The next few blogs, I would like to call it the integration of all layers of SpringBoot to deal with the complete development task, nothing more than the integration of database and persistence layer and the customized integration of Spring MVC. Today's Blog will i ...
Added by slionheart on Sun, 10 Oct 2021 16:03:41 +0300
The development of JAVA log and the use of springboot log
1, Introduce the history of log development
jdk1.3 System.out.println("") tracing It can only be used for debugging when writing code. After online deployment, it is difficult to locate the problem and find the problem. System.out.println("") will only print logs on the console. After the logs are overstocked, the historica ...
Added by FeeBle on Sun, 10 Oct 2021 09:15:33 +0300