source: examples/alice_rt1_typed/rr @ 10e1588

mei_rt2mei_rt2_fix_1meiyap-rt1rt2 rt2-01
Last change on this file since 10e1588 was a9494ad, checked in by Mei <mei@…>, 13 years ago

1) update credential string's storage from plain to base64 encoded

in creddy and also in yap db

2) add alice_rt1_typed example directory (complex params)

  • Property mode set to 100755
File size: 764 bytes
Line 
1eloc=/home/mei/Deter/abac/libabac
2keyloc=/home/mei/Deter/abac/examples/alice_rt1_typed
3
4alice=`creddy --keyid --cert Alice_ID.pem`
5party=`creddy --keyid --cert Party_ID.pem`
6tea=`creddy --keyid --cert Tea_ID.pem`
7hatter=`creddy --keyid --cert Hatter_ID.pem`
8marchhare=`creddy --keyid --cert MarchHare_ID.pem`
9dormouse=`creddy --keyid --cert Dormouse_ID.pem`
10
11#[keyid:Party].role:guests <-?- [keyid:dormouse] yap
12echo "  "
13echo "===good============ Party.guests <- dourmouse yap "
14$eloc/abac_prover_yap  --keystore $keyloc --role $party.guests --principal $dormouse
15
16#[keyid:Party].role:guests <-?- [keyid:hatter] yap
17echo "  "
18echo "===bad============ Party.guests <- hatter yap "
19$eloc/abac_prover_yap  --keystore $keyloc --role $party.guests --principal $hatter
Note: See TracBrowser for help on using the repository browser.