Method for realizing session forwarding in micro-service architecture

An implementation method and technology of microservices, applied in the field of microservices, can solve problems such as microservice security difficulties, and achieve the effect of being conducive to scalability and reusability

Inactive Publication Date: 2020-03-31
INSPUR SOFTWARE CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the implementation method based on the OAuth2 or OpenID Connect protocol, because a complete solution has not been disclosed, especially how to forward the authenticated user identity in the call between services and services, it has caused some difficulties in the actual implementation of microservice security or repeated designs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing session forwarding in micro-service architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0036] The invention realizes the calling of services by clients in the microservice architecture and the session forwarding of calls between services.

[0037] The session information is obtained from the client application and added to the request for invoking the service, so as to realize the security authentication of the client invoking the service...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for realizing session forwarding in a micro-service architecture, belonging to the technical field of micro-services, and in the micro-service architecture, service calling comprises calling of a client application to services and calling of one service to another service, so that security authentication of calling services by the client application in the micro-service architecture and security authentication of calling among the services in the micro-service architecture are realized; an AOP programming normal form is adopted, codes of service safety are separated from service codes, and expandability and reusability of a program are facilitated.

Description

technical field [0001] The invention relates to microservice technology, in particular to a method for implementing session forwarding in a microservice architecture. Background technique [0002] Security is a very common requirement when using microservices in real-world scenarios. When implementing service security, OAuth2 or OpenID Connect open protocols are usually used, which can provide authentication methods for almost all types of client applications based on Web, Mobile, etc., and are universal and platform-independent. [0003] In the implementation method based on the OAuth2 or OpenID Connect protocol, because a complete solution has not been disclosed, especially how to forward the authenticated user identity in the call between services and services, it has caused some difficulties in the actual implementation of microservice security or repeated designs. Contents of the invention [0004] In order to solve the above technical problems, the present inventio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/142H04L63/0807H04L67/63
Inventor 肖传楠玄德
Owner INSPUR SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products