readme

来自「开源CORBA中间件」· 代码 · 共 39 行

TXT
39
字号
Example with security aware access.The complete access control policy is set in the server.cc source:-Object Domain Mapping-Required rights of the operations in the different domains-Principal's rightsThere 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/Bankbank->open()         "ug"   in /Access/Bankaccount->deposit()   "ug"   in /Access/Accountsaccount->withdraw()  "u"    in /Access/Accountsaccount->balance()   "ug"   in /Access/AccountsRights combinator   - AnySecPolicyCombinator - UnionTo check how it works run server - rssThen clients                     - rcs"manager" can create account only, "owner" and "wife" can open account, deposit/withdraw money, see the balance,Files:config.cnf - describes poa -> domain mapping for auditing.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?