mei_rt2mei_rt2_fix_1
Last change
on this file since 5d06689 was
5d06689,
checked in by Mei <mei@…>, 12 years ago
|
1) modify abac.hh and added abac_c.c to unify the c and c++ api
interface (almost)
2) add new API
3) tweak the tests
4) filling missing code for abac_verifier_load_attribute_cert_attribute
|
-
Property mode set to
100644
|
File size:
739 bytes
|
Line | |
---|
1 | % Restoring file /usr/local/lib/Yap/startup.yss |
---|
2 | |
---|
3 | ===good============ Alpha.access(Read,fileA)<-?-Bob |
---|
4 | YAP query succeed |
---|
5 | pAlpha.access('Read',F:pAlpha.documents(P)) <- pAlpha.team(P) |
---|
6 | pAlpha.documents('proj1') <- 'file//fileA' |
---|
7 | pAlpha.team('proj1') <- pBob |
---|
8 | |
---|
9 | ===bad============ Alpha.access(Read,fileA)<-?-Joe |
---|
10 | YAP query failed |
---|
11 | |
---|
12 | ===good============ Alpha.team(proj2)<-?-Joe |
---|
13 | YAP query succeed |
---|
14 | pAlpha.team('proj2') <- pJoe |
---|
15 | ...initial principal set... |
---|
16 | (pAlpha,keyid,y) |
---|
17 | (pBob,keyid,y) |
---|
18 | (pJoe,keyid,y) |
---|
19 | |
---|
20 | |
---|
21 | ...initial policy attribute set... |
---|
22 | pAlpha.access('Read','file//fileB') <- pBob |
---|
23 | pAlpha.access('Read',F:pAlpha.documents(P)) <- pAlpha.team(P) |
---|
24 | pAlpha.team('proj1') <- pBob |
---|
25 | pAlpha.documents('proj1') <- 'file//fileA' |
---|
26 | pAlpha.team('proj2') <- pJoe |
---|
27 | |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.