source: fedd/abac_test.sh @ 0b2ca42

axis_examplecompt_changesinfo-opsversion-3.01version-3.02
Last change on this file since 0b2ca42 was 1e643da, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

Changes to use axis instead of axis2. Policy files are still located in axis2.

  • Property mode set to 100644
File size: 2.0 KB
Line 
1#!/bin/sh
2
3# Create a new contexts for the negotiation
4./abac_client.py create --cert=emulab.pem --transport=soap \
5        --url=https://localhost:8443/axis/services/feddABACPort \
6        --file=/usr/local/tomcat5.5/webapps/axis2/WEB-INF/ucla.txt
7#       --trace \
8./abac_client.py create --cert=emulab.pem --transport=soap \
9        --url=https://localhost:8443/axis/services/feddABACPort \
10        --file=/usr/local/tomcat5.5/webapps/axis2/WEB-INF/bill.txt
11#       --trace \
12./abac_client.py create --cert=emulab.pem --transport=soap \
13        --url=https://localhost:8443/axis/services/feddABACPort \
14        --file=/usr/local/tomcat5.5/webapps/axis2/WEB-INF/alice.txt
15#       --trace \
16./abac_client.py create --cert=emulab.pem --transport=soap \
17        --url=https://localhost:8443/axis/services/feddABACPort \
18        --file=/usr/local/tomcat5.5/webapps/axis2/WEB-INF/james.txt
19#       --trace \
20# Run the negotiation with an access request
21#./abac_client.py access --cert=emulab.pem --transport=soap \
22#       --trace \
23#       --url=http://localhost:8443/axis2/services/feddABACPort \
24#       --context_id=0 --goal='GENI:GENI.CTFaccess<<---Alice'
25# Test a two part negoitation
26./abac_client.py access --cert=emulab.pem --transport=soap \
27        --url=https://localhost:8443/axis/services/feddABACPort \
28        --context_id=UCLA --goal='UCLA:GENI.CTFaccess<<---Alice' \
29        --srcURL=https://localhost:8443/axis/services/feddABACPort \
30        --dstContext=Alice \
31        --dstURL=https://localhost:8443/axis/services/feddABACPort
32#       --trace \
33./abac_client.py access --cert=emulab.pem --transport=soap \
34        --url=https://localhost:8443/axis/services/feddABACPort \
35        --context_id=UCLA --goal='UCLA:GENI.CTFaccess<<---James' \
36        --srcURL=https://localhost:8443/axis/services/feddABACPort \
37        --dstContext=James \
38        --dstURL=https://localhost:8443/axis/services/feddABACPort
39#       --trace \
40./abac_client.py access --cert=emulab.pem --transport=soap \
41        --url=https://localhost:8443/axis/services/feddABACPort \
42        --context_id=UCLA --goal='UCLA:GENI.CTFaccess<<---Bill' \
43        --srcURL=https://localhost:8443/axis/services/feddABACPort \
44        --dstContext=Bill \
45        --dstURL=https://localhost:8443/axis/services/feddABACPort
46
Note: See TracBrowser for help on using the repository browser.