CAS server end construction based on spring boot (2.1.8) (6.0.5)

Recently, we started to investigate single sign-on again. (Why do you say "again")When it comes to single sign-on, the first thing to think about is the framework of CAS.First look at the CAS process (non-agent) given by the official website: Other processes can be referred to the official website. After understanding the process, I ...

Posted on Thu, 26 Sep 2019 00:30:45 -0400 by Lorik

Full SpringBoot Cache Integrated redis Cache

Cache annotation concept Name explain Cache The cache interface defines the cache operation. The implementations are: RedisCache, EhCache Cache, Concurrent MapCache, etc. CacheManager Cache Manager, which manages various cache components @Cacheable For method configuration, it can be cached according to the request paramete ...

Posted on Wed, 25 Sep 2019 23:40:27 -0400 by bjblackmore

Spring refresh application context refreshContext

1. introduction This article is a supplement to the startup principle of the previous article. It mainly introduces the refresh application context operation in the initialization of Spring IOC container. 2. Code parsing Look at the source code and find refreshContext (context) - - > refresh (context) - - > ApplicationContext. refresh ()S ...

Posted on Wed, 25 Sep 2019 07:12:52 -0400 by GreyBoy

Spring's WebFlux and WebClient

This article is based on Spring 5 Enterprise Development Practice. 1. WebFlux 1.1 Traditional programming model 1.2 Responsive Programming Mode 1.3 Reactor 1.3.1 Flux and Mono 1.3.2 subscribe() method 1.3.3 Operator 1.3.4 Thread Model 1.4 Spring WebFlux 1.4.1 Annotation-based WebFlux devel ...

Posted on Wed, 25 Sep 2019 05:23:20 -0400 by jrws

spring boot+eclipse

github address:https://github.com/mashirro/SpringBootDemo1.git First, build. 1. the following diagram 2. Choose several common starter s spring boot devtools:Tools for Quick Restart of Applications,Enhancing the Development Experience jdbc api:spring jdbc spring web:web Development support,Default use ...

Posted on Wed, 25 Sep 2019 05:18:26 -0400 by bmyster

Spring Security Parsing-Spring Security Oauth2 Source Parsing

Spring Security Parsing (7) - Spring Security Oauth2 Source Parsing When learning Spring Cloud, when encountering the related content of authorized service oauth, he always knows half of it, so he decided to study and collate the content, principle and design of Spring Security, Spring Security Oauth2 ...

Posted on Wed, 25 Sep 2019 04:40:20 -0400 by davids701124

Spring Security Parsing-Spring Security Oauth2 Source Parsing

Spring Security Parsing (7) - Spring Security Oauth2 Source Parsing When learning Spring Cloud, when encountering the related content of authorized service oauth, he always knows half of it, so he decided to study and collate the content, principle and design of Spring Security, Spring Security Oauth2 and other permissions, authentication-rela ...

Posted on Wed, 25 Sep 2019 03:47:41 -0400 by ZaZall

Spring cloud learning notes

Advantages and Disadvantages of Microsoft Service ArchitectureAdvantage: 1. Each service is cohesive enough and small enough for the agent to understand easily, so that it can focus on a specified function or business requirement. 2. Development is simple, development efficiency is high, a service may b ...

Posted on Wed, 25 Sep 2019 03:20:22 -0400 by provision

Completable Future Composite Asynchronous Programming

Completable Future is a new feature introduced by jdk1.8. It mainly solves the dependencies between multiple Future results. For example: Merge two asynchronous computations into one -- the two are independent of each other, while the second depends on the One result. Wait for all tasks in the Future collection to be completed. Just wait for ...

Posted on Wed, 25 Sep 2019 01:27:58 -0400 by 87dave87

Spring Source Spring Transaction

Registered Postprocessor Opens Transaction Support @EnableTransactionManagement @ The main function of the EnableTransaction Management annotation is to turn on transaction support. The source code is as follows: @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @Import(TransactionManagementConfigurationSelector.class) p ...

Posted on Wed, 25 Sep 2019 01:16:45 -0400 by entropicsinkhole