Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A unified authentication system and method for web and microservices

A technology of micro-service and server, which is applied in the field of unified authentication system of Web and micro-service, can solve the problems of lack of versatility, achieve the effect of improving access efficiency and alleviating the load pressure of the gateway

Active Publication Date: 2021-07-20
WUHAN UNIV OF TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In view of the fact that the main domain names of the web system and the microservice system are not unified, the above solutions are not universal

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
  • A unified authentication system and method for web and microservices
  • A unified authentication system and method for web and microservices
  • A unified authentication system and method for web and microservices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0115] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0116] The technical scheme of the system of the present invention is a unified authentication system of Web and microservice, which is characterized in that it includes: user client, Nginx server, gateway server, authorization server, microservice application server, and original Web system application server;

[0117] The topological structure figure of the system of the present invention is as figure 1 shown;

[0118] The user client is connected to the Ng...

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 proposes a unified authentication system and method for Web and microservices. The system of the present invention includes: a client, an Nginx server, a gateway server, an authorization server, a microservice application server, and an original Web system application server. The method of the present invention includes: Nginx redirects the client microservice login request; the client authorization request caches the client ID and redirection address through the gateway, forwards the authorization service and then redirects; the client login request returns to the login page to submit login information, After being authenticated by the authorized service, the token is generated and redirected, and the token and time stamp are cached to the gateway; the client’s microservice home page request is authenticated by the gateway and the data returned by the microservice background is forwarded; Nginx redirects the client’s original web system login request; The client's authorization request is redirected after being authenticated by the gateway and the authorization service; the client's original web system homepage request is authenticated by the gateway and forwarded to the web background to return data. The invention improves the access efficiency, alleviates the load pressure of the gateway, and has universality.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a unified authentication system and method for Web and microservices. Background technique [0002] Most of the traditional Web systems adopt Monolithic Architecture (MA for short), which integrates all functional modules into one system. The system runs in the same process after centralized release and deployment, and system requirements changes need to be realized through unified changes and unified deployment. The traditional web system will become relatively "bloated" when it develops to a certain extent, and it appears a bit rigid in terms of system development and deployment. Extend the system architecture. [0003] Micro Service Architecture (MSA) is a new architectural style for software systems. In the microservice system, all module functions are no longer deployed in one package like a single system, but are composed of multiple microservices. Each microservice ca...

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 Patents(China)
IPC IPC(8): H04L29/06H04L29/08H04L29/12
CPCH04L63/08H04L67/02H04L61/4511H04L67/60
Inventor 周建新周宁李里
Owner WUHAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products