Changeset 1796


Ignore:
Timestamp:
01/12/06 17:29:27 (13 years ago)
Author:
pjkersha
Message:

test/SessionMgrClientTest.py: test different URIs for external connectivity tests.
Tests/Echo/?*.py: test encryption + signature.

Location:
TI12-security/trunk/python
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/Tests/Echo/EchoServer.py

    r1740 r1796  
    8484 
    8585    def encrypt(self, sw): 
    86         if isinstance(self.request, EchoEncrRequest): 
    87             # Assume EchoEncr response - apply encryption 
    88             self.encryptionHandler.encrypt(sw) 
     86        #if isinstance(self.request, EchoEncrRequest): 
     87        # Assume EchoEncr response - apply encryption 
     88        self.encryptionHandler.encrypt(sw) 
     89 
    8990             
    9091    def decrypt(self, ps): 
  • TI12-security/trunk/python/Tests/Echo/EchoServer_interface.py

    r1696 r1796  
    114114 
    115115    def soap_Echo(self, ps): 
     116        import pdb;pdb.set_trace() 
    116117        self.request = ps.Parse(EchoRequest.typecode) 
    117118        parameters = self.request.EchoIn 
     
    133134        self.request = ps.Parse(EchoEncrRequest.typecode) 
    134135        parameters = self.request.EchoIn 
    135  
     136        import pdb;pdb.set_trace() 
    136137        # If we have an implementation object use it 
    137138        if hasattr(self,'impl'): 
  • TI12-security/trunk/python/Tests/Echo/wsSecurity.py

    r1747 r1796  
    439439                                           context=ctxt)[0] 
    440440            x509str = binSecTokNode.childNodes[0]._get_nodeValue() 
    441             x509strAlt = '' 
    442             i = 0 
    443             while i < len(x509str): 
    444                 x509strAlt += "%s\n" % x509str[i:i+64] 
    445                 i += 64 
     441            #import pdb;pdb.set_trace() 
     442#            x509strAlt = '' 
     443#            i = 0 
     444#            while i < len(x509str): 
     445#                x509strAlt += "%s\n" % x509str[i:i+64] 
     446#                i += 64 
    446447     
    447             raise Exception, "Try reading from file" 
     448            raise Exception, "Try reading from file" 
    448449            x509Cert = X509.load_cert_string(x509strAlt) 
    449450        except: 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/SessionMgrClientTest.py

    r1791 r1796  
    3131        testConfig = {} 
    3232        testConfig['smURI'] = 'https://glue.badc.rl.ac.uk/SessionManager'#'https://localhost:5700/SessionManager' 
     33        testConfig['smURI'] = 'https://192.100.78.199:5700/SessionManager' 
    3334        testConfig['aaURI'] = 'https://localhost:5000/AttributeAuthority' 
    3435 
Note: See TracChangeset for help on using the changeset viewer.