Authentication method and device as well as storage medium

An authentication and permission technology, applied in the field of communication, can solve the problems of inconvenient microservice architecture identity authentication and authentication management, and achieve the effect of good decoupling

Inactive Publication Date: 2019-02-12
TAIKANG LIFE INSURANCE CO LTD
View PDF9 Cites 75 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Under the microservice architecture, the system will be split into several microservices/microapplications, and each microapplication needs to authenticate access, and each microapplication

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
  • Authentication method and device as well as storage medium
  • Authentication method and device as well as storage medium
  • Authentication method and device as well as storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] 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.

[0075] The authentication authentication method provided by the present invention can be applied to figure 1 system shown. Such as figure 1 As shown, the system includes a client 11, a gateway microservice 12, an authentication authentication microservice 13, and business microservices 15 and 16, wherein, at the user login stage, the client 11 sends a login request to the gateway microservice 12, The login request includes user identity information. After re...

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 an authentication method and device as well as a storage medium. The method comprises the following steps: sending a service request to a gateway microservice by virtue of a client, wherein the service request comprises a token prestored by the client as well as service data; sending the service request to an authentication microservice by the gateway microservice, verifyingthe authentication microservice according to the token, sending a verification result to the gateway microservice, and sending the service request to a corresponding service microservice to perform aservice flow when the gateway microservice passes verification. The method provided by the invention takes authentication as an independent basic microservice, and other microservices under a microservice architecture respectively can call the authentication microservice to perform authentication, so that decoupling performance is good, and the authentication management problem under the microservice architecture is solved; only a client needs to prestore the token, and each microservice side does not need to store Session information, so that statelessness and extensibility are realized; anduser identity information is transmitted independent of Cookie, and a CSRF risk is avoided.

Description

technical field [0001] The present invention relates to the technical field of communication, and in particular to an authentication authentication method, device and storage medium. Background technique [0002] When more and more enterprises realize their core business based on the overall application architecture model, as the business develops, the amount of data and the system become more and more bloated, and the complexity increases, making it difficult to adapt to flexible and changeable business needs. In this context, Microservices Architecture emerged as the times require. It abandoned the traditional large-scale integrated design concept and changed it to a fine-grained, loosely coupled, and flexibly combined autonomous unit. This system design concept has gradually become The current mainstream business system architecture model. [0003] After the system is micro-serviced, most of the original monolithic applications are based on the session authentication mod...

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
IPC IPC(8): H04L29/06
CPCH04L63/0807
Inventor 徐志亮
Owner TAIKANG LIFE INSURANCE 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