mei_rt2mei_rt2_fix_1
Last change
on this file since 1621520 was
d9c3886,
checked in by Mei <mei@…>, 13 years ago
|
1) add 2 more query calls in abac.hh that take Role and Oset instead of
strings. Add supporting code in libabac that will take abac_aspect_t
and make query term directly instead of doing stringify the structure
and do string->yyparse->abac_aspect_t again.
2) start on inline doc into abac.hh
3) tweaked some scripts in examples directory
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | % Restoring file /usr/local/lib/Yap/startup.yss |
---|
2 | python: Couldn't load ID/KEY IDKEY cert /home/mei/Deter/abac/examples/python_tests/basic_id/Tom_IDKEY.pem |
---|
3 | ABAC version 1.0 |
---|
4 | ...initial principal set... |
---|
5 | (pBob,keyid,y) |
---|
6 | (pJack,keyid,y) |
---|
7 | (pMary,keyid,y) |
---|
8 | (pLori,keyid,n) |
---|
9 | (pMark,keyid,y) |
---|
10 | |
---|
11 | |
---|
12 | adding -> pMary(good) |
---|
13 | adding -> pJack(good) |
---|
14 | adding -> pMark(good) |
---|
15 | adding -> pJohn(good,invisible) |
---|
16 | adding -> pLori(good,nokey) |
---|
17 | adding -> pTom(bad,nocert) |
---|
18 | adding -> Casper(bad,unknown file) |
---|
19 | ...final principal set... |
---|
20 | (pBob,keyid,y) |
---|
21 | (pJack,keyid,y) |
---|
22 | (pMary,keyid,y) |
---|
23 | (pLori,keyid,n) |
---|
24 | (pMark,keyid,y) |
---|
25 | (pJack,keyid,y) |
---|
26 | (pJohn,keyid,y) |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | ========= yap db (dump_yap) |
---|
32 | isType(pBob,keyid). |
---|
33 | isType(pJack,keyid). |
---|
34 | isType(pMary,keyid). |
---|
35 | isType(pLori,keyid). |
---|
36 | isType(pMark,keyid). |
---|
37 | isType(pJack,keyid). |
---|
38 | isType(pJohn,keyid). |
---|
39 | appendL([],[]). |
---|
40 | appendL([B|C],A) :- |
---|
41 | appendL(C,D), |
---|
42 | append(B,D,A). |
---|
43 | append([],A,A). |
---|
44 | append([B|C],A,[B|D]) :- |
---|
45 | append(C,A,D). |
---|
46 | file_search_path(library,A) :- |
---|
47 | library_directory(A). |
---|
48 | file_search_path(commons,_) :- |
---|
49 | commons_directory(_). |
---|
50 | file_search_path(swi,A) :- |
---|
51 | current_prolog_flag(home,A). |
---|
52 | file_search_path(yap,A) :- |
---|
53 | current_prolog_flag(home,A). |
---|
54 | file_search_path(system,A) :- |
---|
55 | prolog_flag(host_type,A). |
---|
56 | file_search_path(foreign,yap('lib/Yap')). |
---|
57 | listing ok.. |
---|
58 | ========= |
---|
59 | |
---|
Note: See
TracBrowser
for help on using the repository browser.