source: fedd/abac_test.sh @ e14f472

axis_examplecompt_changesinfo-opsversion-3.01version-3.02
Last change on this file since e14f472 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
RevLine 
[af51a97]1#!/bin/sh
2
[e14f472]3# Create a new contexts for the negotiation
[181cf9c]4./abac_client.py create --cert=emulab.pem --transport=soap \
5        --trace \
[20cda34]6        --url=http://localhost:8443/axis2/services/feddABACPort \
[181cf9c]7        --file=/usr/local/tomcat5.5/webapps/axis/WEB-INF/geni.txt
[e14f472]8./abac_client.py create --cert=emulab.pem --transport=soap \
[181cf9c]9        --trace \
[20cda34]10        --url=http://localhost:8443/axis2/services/feddABACPort \
[e14f472]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'
[20cda34]17# Test a two part negoitation
18./abac_client.py access --cert=emulab.pem --transport=soap \
[2ed74c6]19        --trace --url=http://localhost:8443/axis2/services/feddABACPort \
[e14f472]20        --context_id=GENI --goal='GENI:GENI.CTFaccess<<---Alice' \
[2ed74c6]21        --srcURL=https://localhost:8443/axis2/services/feddABACPort \
[e14f472]22        --dstContext=Alice \
[2ed74c6]23        --dstURL=https://localhost:8443/axis2/services/feddABACPort
[20cda34]24
Note: See TracBrowser for help on using the repository browser.