source: examples/python_tests/basic_id/id.save @ b4b0d0a

mei_rt2
Last change on this file since b4b0d0a was 2e9455f, checked in by Mei <mei@…>, 11 years ago

1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule

  • Property mode set to 100644
File size: 1.0 KB
Line 
1ABAC version 0.2.4
2...initial principal set...
3
4
5adding -> pMary(good)
6adding -> pJack2(good)
7adding -> pMark(good)
8adding -> pJohn(good,invisible)
9adding -> pLori(good,nokey)
10adding -> pTom(bad,nocert)
11adding -> Casper(bad,unknown file)
12...final principal set...
13(pMary,keyid,y)
14(pJack2,keyid,y)
15(pMark2,keyid,y)
16(pJohn2,keyid,n)
17(pLori2,keyid,n)
18(pTim,keyid,y)
19(pStanley,keyid,y)
20
21
22/* ===== first ======== */
23  number of contexts: 2
24  number of principals: 0
25  number of attributes: 0
26/* ===== second ======== */
27  number of contexts: 2
28  number of principals: 1
29  number of attributes: 0
30/* ===== third ======== */
31  number of contexts: 2
32  number of principals: 2
33  number of attributes: 0
34context [A] 0 principals, 0 credentials
35context [B] 0 principals, 0 credentials
36adding -> pElla(good) to session
37context [A] 0 principals, 0 credentials
38context [B] 0 principals, 0 credentials
39loading -> pElla to ctxtA
40loading -> Bob to ctxtB
41context [A] 1 principals, 0 credentials
42context [B] 1 principals, 0 credentials
Note: See TracBrowser for help on using the repository browser.