Research Article
Trusted and Efficient Cross-Domain Access Control System Based on Blockchain
(1) | Input: role, Uid | (2) | output: string | (3) | % map a role to the DMS’s role. | (4) | rule = Stub.GetState (Uid) | (5) | role’ = match (role, rule) | (6) | if (role’ ! = null) then | (7) | return role’; | (8) | else | (9) | return ‘9001’; |
|