Dynamic configuration interface authority control method based on Java annotation
The invention provides a dynamic configuration interface authority control method based on Java annotation. The method comprises the following steps: S1, compiling a user-defined Java annotation (at) UserUniqueFunc; s2, a section class is written, firstly, an Aspect is used for indicating that the c...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
21.06.2024
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a dynamic configuration interface authority control method based on Java annotation. The method comprises the following steps: S1, compiling a user-defined Java annotation (at) UserUniqueFunc; s2, a section class is written, firstly, an Aspect is used for indicating that the class is the section class, and an Aspect is added into the class so that the class can be automatically injected into a program in a bean form; the method comprises the following steps of: taking a (at) within (UserUniqueFunc) and a (at) anatomy (UserUniqueFunc) as an entry point, and taking the (at) within (UserUniqueFunc) and the (at) anatomy (UserUniqueFunc) as the entry point; s3, a permission judgment implementation method: firstly, obtaining a method object Metry through an entry point, then taking out a corresponding annotation according to the method object, and judging with the currently operated user permission according to parameters in the annotation; and if the user has the permission of the method, re |
---|---|
Bibliography: | Application Number: CN202211636158 |