Configuration and principle analysis of Spring Security Oauth2 SSO single sign on

  Single sign on (SSO) is a one-time authentication login by users. After a user logs in on the identity authentication server once, he / she can gain access to other associated systems and application software in the single sign on system. At the same time, this implementation does not require the ...

Posted by Jay on Mon, 15 Jun 2020 04:15:32 +0200

Spring Cloud notes - Hystrix circuit breaker

1. Overview 1. Problems faced by distributed system In the complex distributed architecture system, the failure of mutual service calls cannot be avoided. If the call link of A service is relatively long, the probability of such call failure will be higher. For example, if A calls B, B calls C, C c ...

Posted by pelleas1022 on Sun, 14 Jun 2020 10:11:18 +0200

Ordering system - Message 02 - websocket message push

1, What is WebSocket WebSocket: communication between client and server WebSocket makes the data exchange between the client and the server easier, allowing the server to actively push data to the client. In the WebSocket API, the browser and server only need to complete one handshake, and they can di ...

Posted by ttroy on Sun, 14 Jun 2020 10:02:44 +0200

Using AspectJ to implement AOP function in Spring 5 framework

1. Preface The most common way in development is to use Aspect to realize AOP function. Next, we will simply use @ Aspect to realize AOP Aspect oriented programming. For the usage of Spring native AOP, please refer to the previous blog post AOP proxyfactory underlying implementation of spring 5 frame ...

Posted by jerryroy on Sun, 14 Jun 2020 07:54:54 +0200

Summary of Spring IOC knowledge points

@Configuration configure spring and start the spring container @Configuration is used to define the configuration class, which is labeled on the class, which is equivalent to < beans > in the xml configuration file of spring. Its function is to configure the spring container (application context) Example description: Configuration class @ ...

Posted by lyealain on Sun, 14 Jun 2020 07:17:49 +0200

The spring boot series integrates MyBatis framework

Add Dependency <!--Add to mysql and mybatis rely on--> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> <dependency> <groupId>org.mybatis.spring.boot</groupId> <a ...

Posted by Jragon on Sat, 13 Jun 2020 20:59:15 +0200

8: object storage OSS

Article catalog Brand management of shopping mall New brand management menu Optimize display status Alibaba cloud object storage OSS What is object storage OSS Related concepts Storage Class Storage space (Bucke ...

Posted by thomas2 on Sat, 13 Jun 2020 10:17:45 +0200

2, End of spring AOP (in supplement...)

1, Basic source code analysis 1. Find the entrance Spring's AOP is started by accessing the BeanPostProcessor postprocessor 2.BeanPostProcessor BeanPostProcessor is embodied in the doCreateBean of IOC source code analysis, the latter sentence of populateBean Object exposedObject = bean; try { po ...

Posted by ghostrider1 on Sat, 13 Jun 2020 07:56:32 +0200

Request Response\File UploadExceptionInterceptor for SpringMVC

SpringMVC Summary Spring MVC is an excellent Web framework based on MVC design concept provided by Spring for presentation layer, and it is one of the most mainstream MVC frameworks at present.Spring MVC makes POJO the controller for processing requests through a set of MVC annotations without imple ...

Posted by velanzia on Sat, 13 Jun 2020 04:12:07 +0200

Spring cloud: Advanced Application of Spring Cloud Gateway

Fusing Current limiting retry 1. Speed limit router Speed limit is one of the common means in high concurrency scenarios, which can effectively guarantee the overall stability of the service. Spring Cloud Gateway provides a Redis based flow limit scheme. So we need to add the corresponding dependency package spring boot starter data R ...

Posted by llangres on Fri, 12 Jun 2020 08:28:01 +0200