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

Web and micro-service unified authentication system and method

A technology of microservices and servers, applied in the field of unified authentication system of web and microservices, can solve problems such as lack of generality

Active Publication Date: 2019-08-13
WUHAN UNIV OF TECH
View PDF7 Cites 33 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
  • Web and micro-service unified authentication system and method
  • Web and micro-service unified authentication system and method
  • Web and micro-service unified authentication system and method

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 provides a Web and micro-service unified authentication system and method. The system comprises a client, an Nginx server, a gateway server, an authorization server, a micro-service application server and an original Web system application server. The method comprises the following steps that: Nginx redirects a client micro-service login request; the client authorization request caches the client ID and the redirection address through the gateway, and redirects after forwarding the authorization service; a client login request returns a login page to submit login information, andthe login information is redirected after being authenticated by an authorization service to generate a token, and the token and a time stamp are cached to the gateway; the client micro-service homepage request forwards data returned by the micro-service background through gateway authentication; the Nginx redirects the original Web system login request of the client; the client authorization request is redirected after being authenticated by the gateway and the authorization service; and the home page request of the original Web system of the client is authenticated by the gateway and is forwarded to the Web background to return data. According to the invention, the access efficiency is improved, the gateway load pressure is relieved, and the universality is realized.

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 Applications(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