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

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 frag...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: REN WENYUE, HAO ZHONGXIU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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 develop