Spring boot integrates Shiro -- authentication and authorization
Shiro
1, introduction
Apache Shiro is a Java Security (permission) framework.
Shiro can easily develop good enough applications, which can be used not only in Java se environment, but also in Java EE environment.
Shiro can complete authentication, authorization, encryption, session management, Web integration, caching, etc.
Download address: ...
Added by BKPARTIES on Sun, 22 Mar 2020 13:59:52 +0200
Spring Cloud Micro Service Architecture From Getting Started to Getting Used - Calling Feign Between Services
One of the most important functions of micro-services is the call between services, which depend on each other.For example, e-commerce systems have order services and inventory services.When we buy a product, we need to generate orders and reduce inventory.Here we're going to use inter-service Feign calls.
Feign is a lightweight framework for H ...
Added by no_one on Sun, 22 Mar 2020 06:05:11 +0200
Spring boot graphics tutorial 17 - use the RestTemplate guide "Get Post" to "set request header"
If there is the concept of flying in the sky, there must be the realization of landing
Ten times of concept is not as good as one time of code. Friend, I hope you can type all the code cases in this article
Praise before you see, form a habit
Spring boot text tutorial series article directory
Spring boot picture and text tutorial 1 - sett ...
Added by Frozen Kiwi on Fri, 20 Mar 2020 15:51:41 +0200
Spring Notes - AOP Face Oriented Programming
Basic concepts:
AOP: Aspect Oriented Programming, facet-oriented programming
A programming method that dynamically cuts a piece of code into a specified location for a specified method to run while the program is running
Pre-notification (@Before): Executes before the target method runs
Post-notification (@After): executes after the target met ...
Added by pchadwick83 on Thu, 19 Mar 2020 09:30:41 +0200
Spring MVC Startup Process Analysis
This is the first post in the Spring MVC series of blogs, which will be summarized in a post.
Spring MVC is the most frequently used part of the Spring family framework.Whether it's a Spring Boot or a traditional Spring project, the Spring MVC section is used for any Web project.Therefore, programmers must be familiar with the MVC section.This ...
Added by snakebit on Thu, 19 Mar 2020 06:09:58 +0200
How Springboot starts scanning packages
Reference Link 1Reference Link 2 The code referenced is Springboot 2.1.1
By default, the scan range is the package and its subdirectories of the main class xxApplication, which you can see in the later implementation.
From SpringApplication.run(xxxApplication.class, args) in the main class; click all the way into the imple ...
Added by rndilger on Tue, 17 Mar 2020 18:45:09 +0200
Write Spring Boot Starter from scratch
Spring Boot provides convenience for developers.
This article describes how to write Starter so that developers can reuse their own or project group's code.
Code download address: https://gitee.com/jxd134/Spring-Boot-Greeter-Starter.git
1 new project
The project is built on Maven and consists of the following three modules:
Greeter Library: ...
Added by ace_lovegrove on Tue, 17 Mar 2020 17:41:45 +0200
GC thinking caused by a thread pool bug!
Author: empty
https://segmentfault.com/a/1190000021109130
Problem description
A few days ago, I was helping my colleagues to troubleshoot the occasional thread pool errors on the production line. The logic was very simple. The thread pool performed an asynchronous task with results.
However, there have been occasional errors recently:
java.ut ...
Added by poscribes on Tue, 17 Mar 2020 11:18:15 +0200
[Spring Boot] Mybatis Plus 3.X condition query
[introduction]
I wrote a blog before< [Spring Boot] Mybatis Plus 2.X condition query >, we know that the query methods of Mybatis Plus 2.X and 3.X are not the same. This blog will summarize the application of various query methods of 3.X.
[example]
Take the query of article table as an example to ...
Added by zampu on Tue, 17 Mar 2020 10:32:01 +0200
Summary of spring learning AOP
1, AOP introduction
1. Basic concept of AOP
AOP is the abbreviation of Aspect Oriented Programming, which means: it is a technology to realize the unified maintenance of program functions through precompile mode and dynamic agent during operation. AOP is the continuation of OOP (obj ...
Added by sklein99 on Tue, 17 Mar 2020 07:30:51 +0200