The invention discloses an authority management method and
system for double-token decoupling and dynamic token mapping, and relates to the technical field of
information security. According to the method, a user identity is verified in a unified
identity management system; receiving the user identity identifier in the target subsystem and generating a local permission token based on the permission model; in the token mapping service, when it is detected that a mapping relation is not established, the user identity identifier, the target subsystem identifier and the time slice identifier are combined according to a preset sequence, a one-time random factor is inserted, and a mapping key is generated through two-time abstract calculation of different secure hash functions and key parameters; determining a unified
expiration time based on a smaller value of the validity period of the double tokens, generating a mapping value by using the exclusive key of the target subsystem in an
encryption manner, and storing the mapping value, the mapping key and the
expiration time in a
distributed cache in an association manner; and the validity of the identity token is verified and the corresponding local permission token is obtained during user access, so that cross-
system security access is realized, permission
data migration is reduced, and compatibility and security are improved.