mei_rt2mei_rt2_fix_1meiyap-rt1rt2
rt2-01
Last change
on this file since 10e1588 was
10e1588,
checked in by Mei <mei@…>, 13 years ago
|
1) added oset handling
2) add dynamic constraints
|
-
Property mode set to
100755
|
File size:
550 bytes
|
Line | |
---|
1 | |
---|
2 | rm -rf creds_dump |
---|
3 | |
---|
4 | eloc=/home/mei/Deter/abac/libabac |
---|
5 | keyloc=/home/mei/Deter/abac/examples/access_rt2_typed |
---|
6 | |
---|
7 | alpha=`creddy --keyid --cert $keyloc/Alpha_ID.pem` |
---|
8 | bob=`creddy --keyid --cert $keyloc/Bob_ID.pem` |
---|
9 | joe=`creddy --keyid --cert $keyloc/Joe_ID.pem` |
---|
10 | |
---|
11 | bob_prin="[keyid:$bob]" |
---|
12 | |
---|
13 | access_fileA="[keyid:$alpha].role:access([string:'read'],[urn:'file//fileA'])" |
---|
14 | team_proj2="[keyid:$alpha].role:team([string:'proj2'])" |
---|
15 | bob_prin="[keyid:$bob]" |
---|
16 | joe_prin="[keyid:$joe]" |
---|
17 | |
---|
18 | ## dump all credentials |
---|
19 | $eloc/abac_prover_yap --keystore $keyloc --dump creds_dump |
---|
20 | |
---|
21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.