Ignore:
Timestamp:
06/12/06 12:49:55 (15 years ago)
Author:
pjkersha
Message:

python/Tests/MyProxyClient/m2CryptoMyPxClnt.py: add test for globus host cert/key in store method
Tests/Echo/EchoClient?.py, Echo/wsSecurity.py: tests for WebSphere? WS-Security encryption compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/Tests/MyProxyClient/m2CryptoMyPxClnt.py

    r1820 r1824  
    237237        @return none 
    238238        """ 
    239         ownerCertFile = ownerCertFile or certFile 
    240         ownerKeyFile = ownerKeyFile or keyFile 
     239        globusLoc = os.environ.get('GLOBUS_LOCATION') 
     240        if not ownerCertFile or not ownerKeyFile: 
     241            if globusLoc: 
     242                ownerCertFile = os.path.join(globusLoc, 'etc', 'hostcert.pem') 
     243                ownerKeyFile = os.path.join(globusLoc, 'etc', 'hostkey.pem') 
     244            else: 
     245                ownerCertFile = certFile  
     246                ownerKeyFile = keyFile 
    241247         
    242248        import pdb;pdb.set_trace() 
Note: See TracChangeset for help on using the changeset viewer.