Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and device for performing authentication and authorization based on aspect-oriented programming (AOP)

A facet-oriented and coding technology, applied in the computer field, can solve problems such as increased maintenance costs, difficulty in reusing and maintenance of business codes, and achieve the effect of improving efficiency, reducing difficulty and cost, and simplifying the implementation process.

Inactive Publication Date: 2017-12-22
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The authentication and authorization of the existing technology is to embed the authentication function and authorization service function into specific different business codes according to different business requirements in specific business scenarios, so that each business code cannot be reused and the maintenance difficulty increases , resulting in increased development and maintenance costs

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 and device for performing authentication and authorization based on aspect-oriented programming (AOP)
  • Method and device for performing authentication and authorization based on aspect-oriented programming (AOP)
  • Method and device for performing authentication and authorization based on aspect-oriented programming (AOP)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0024] Such as figure 1 As shown, it is a flowchart of a method for authentication and authorization based on AOP (Aspect-Oriented Programming) in the embodiment of the present invention.

[0025] 101. After receiving the user's login request, determine whether there is a predetermined code in the code segment to be executed;

[0026] 102. If there is a predetermined code, call a first software development toolkit at the predetermined code, and perform login ...

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 embodiment of the invention provides a method and device for performing authentication and authorization based on aspect-oriented programming (AOP). The method comprises the following steps: after receiving a login request of a user, determining whether a predetermined code exists in a code fragment to be executed; if the predetermined code exists, invoking a first software development kit at the predetermined code, and performing login verification for the login request of the user through the first software development kit; when detecting that the login verification for the user is successful, acquiring authorization related parameters in the predetermined code, and judging whether to perform authorization verification for the user according to the acquired authorization related parameters; and if the judgment result is to perform authorization verification for the user, invoking a second software development kit, and performing authorization verification for the user through the second software development kit. According to the method and device provided by the invention, the authentication and authorization can be completed only through each point of tangency under the premise that original service logic codes are not modified.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for AOP authentication and authorization based on aspect-oriented programming. Background technique [0002] With the continuous development of computer technology and the increasingly complex network environment, building secure network applications has become a necessary factor for network applications in various fields. As there are more and more interactive services between various application systems, at present, users only need to log in once to access all mutually trusted application systems. Therefore, mutual authentication and secure communication between various application systems have become indispensable. requirements. In the prior art, to implement the authentication login function, it is necessary to introduce the corresponding SSO (Single Sign On, single sign-on) unified authentication service SDK (Software Development Kit, software developm...

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/06
CPCH04L63/10H04L63/0815H04L63/0892
Inventor 郝忠秀任文越
Owner MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
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
Eureka Blog
Learn More
PatSnap group products