source: fedd/abac_test.sh @ d205d97

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

Tweaked to use Alice and GENI

  • Property mode set to 100644
File size: 1.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        --trace \
6        --url=http://localhost:8443/axis2/services/feddABACPort \
7        --file=/usr/local/tomcat5.5/webapps/axis/WEB-INF/geni.txt
8./abac_client.py create --cert=emulab.pem --transport=soap \
9        --trace \
10        --url=http://localhost:8443/axis2/services/feddABACPort \
11        --file=/usr/local/tomcat5.5/webapps/axis/WEB-INF/alice.txt
12# Run the negotiation with an access request
13#./abac_client.py access --cert=emulab.pem --transport=soap \
14#       --trace \
15#       --url=http://localhost:8443/axis2/services/feddABACPort \
16#       --context_id=0 --goal='GENI:GENI.CTFaccess<<---Alice'
17# Test a two part negoitation
18./abac_client.py access --cert=emulab.pem --transport=soap \
19        --trace --url=http://localhost:8443/axis2/services/feddABACPort \
20        --context_id=GENI --goal='GENI:GENI.CTFaccess<<---Alice' \
21        --srcURL=https://localhost:8443/axis2/services/feddABACPort \
22        --dstContext=Alice \
23        --dstURL=https://localhost:8443/axis2/services/feddABACPort
24
Note: See TracBrowser for help on using the repository browser.