?? readme
字號:
Short example with access.There are 3 persons: "manager" (bank manager), "owner" and his "wife".They have appropriate sertificates: manager.pem, owner.pem, wife.pemUser Rights:AccessId:manager "m"GroupId:owner & wife "u"Object Access Policies:bank->create() "m" in /Access/Domain1bank->open() "ug" in /Access/Domain1hello->hello() "s" in /Access/Domain1account->deposit() "ug" in /Access/Accountsaccount->withdraw() "u" in /Access/Accountsaccount->balance() "ug" in /Access/Accountshello->hello() "" in /Access has no required rights in root domain, public useRights combinator - AnySecPolicyCombinator - UnionTo check how it works run server - rssThen clients - rcs"manager" can create account only, also he can say hello in /Access, but can'tsay hello in /Access/Domain1."owner" and "wife" can open account, deposit/withdraw money, see the balance,Files:config.cnf - describes poa -> domain mapping,access.cnf - describes object -> domain mapping,rights.cnf - describes user rightsP.S.Please look at the code in client.cc and content of config.cnf - changed!
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -