Changeset 7723a2f for fedd


Ignore:
Timestamp:
Nov 11, 2009 5:36:45 PM (15 years ago)
Author:
Jay Jacobs <Jay.Jacobs@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
1e643da
Parents:
d205d97
Message:

Added tests for Alice, Bill, and James.
Alice is still misbehaving.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/abac_test.sh

    rd205d97 r7723a2f  
    33# Create a new contexts for the negotiation
    44./abac_client.py create --cert=emulab.pem --transport=soap \
    5         --trace \
    65        --url=http://localhost:8443/axis2/services/feddABACPort \
    7         --file=/usr/local/tomcat5.5/webapps/axis/WEB-INF/geni.txt
     6        --file=/usr/local/tomcat5.5/webapps/axis2/WEB-INF/ucla.txt
     7#       --trace \
    88./abac_client.py create --cert=emulab.pem --transport=soap \
    9         --trace \
    109        --url=http://localhost:8443/axis2/services/feddABACPort \
    11         --file=/usr/local/tomcat5.5/webapps/axis/WEB-INF/alice.txt
     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=http://localhost:8443/axis2/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=http://localhost:8443/axis2/services/feddABACPort \
     18        --file=/usr/local/tomcat5.5/webapps/axis2/WEB-INF/james.txt
     19#       --trace \
    1220# Run the negotiation with an access request
    1321#./abac_client.py access --cert=emulab.pem --transport=soap \
     
    1725# Test a two part negoitation
    1826./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' \
     27        --url=http://localhost:8443/axis2/services/feddABACPort \
     28        --context_id=UCLA --goal='UCLA:GENI.CTFaccess<<---Alice' \
    2129        --srcURL=https://localhost:8443/axis2/services/feddABACPort \
    2230        --dstContext=Alice \
    2331        --dstURL=https://localhost:8443/axis2/services/feddABACPort
     32#       --trace \
     33./abac_client.py access --cert=emulab.pem --transport=soap \
     34        --url=http://localhost:8443/axis2/services/feddABACPort \
     35        --context_id=UCLA --goal='UCLA:GENI.CTFaccess<<---James' \
     36        --srcURL=https://localhost:8443/axis2/services/feddABACPort \
     37        --dstContext=James \
     38        --dstURL=https://localhost:8443/axis2/services/feddABACPort
     39#       --trace \
     40./abac_client.py access --cert=emulab.pem --transport=soap \
     41        --url=http://localhost:8443/axis2/services/feddABACPort \
     42        --context_id=UCLA --goal='UCLA:GENI.CTFaccess<<---Bill' \
     43        --srcURL=https://localhost:8443/axis2/services/feddABACPort \
     44        --dstContext=Bill \
     45        --dstURL=https://localhost:8443/axis2/services/feddABACPort
    2446
Note: See TracChangeset for help on using the changeset viewer.