Changeset 1740


Ignore:
Timestamp:
23/11/06 08:23:45 (13 years ago)
Author:
pjkersha
Message:

ez_setup.py: keep for ndg generic egg install
Echo/EchoClient?.py, Echo/wsSecurity.py and Echo/EchoServer?.py: comments added and debugs cleaned up.

Location:
TI12-security/trunk/python
Files:
1 added
3 edited

Legend:

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

    r1696 r1740  
    7474                         tracefile=sys.stdout) 
    7575try: 
    76     import pdb;pdb.set_trace() 
     76    #import pdb;pdb.set_trace() 
    7777    print echoSrv.Echo("Test String") 
    7878    #print echoSrv.EchoEncr("Test Secret") 
  • TI12-security/trunk/python/Tests/Echo/EchoServer.py

    r1696 r1740  
    114114 
    115115# Here we set up the server 
    116 serviceContainer = ServiceContainer(('localhost', 7100), 
     116serviceContainer = ServiceContainer(('localhost', 7000),#7100), 
    117117                                    RequestHandlerClass=EchoSOAPRequestHandler) 
    118118 
  • TI12-security/trunk/python/Tests/Echo/wsSecurity.py

    r1696 r1740  
    113113        binSecTokElem = wsseElem.createAppendElement(OASIS.WSSE,  
    114114                                                     'BinarySecurityToken') 
     115         
     116        # Change value and encoding types to suite WebSphere 
    115117#        binSecTokElem.node.setAttribute('ValueType', "wsse:X509v3") 
    116118        valueType = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509" 
     
    327329        # the transforms elements 
    328330        c14nMethodNode = xpath.Evaluate('//ds:CanonicalizationMethod',  
    329                                   contextNode=parsedSOAP.dom,  
    330                                   context=ctxt)[0] 
     331                                        contextNode=parsedSOAP.dom,  
     332                                        context=ctxt)[0] 
    331333         
    332334        refNodes = xpath.Evaluate('//ds:Reference',  
     
    393395                                        context=ctxt)[0] 
    394396 
    395         import pdb;pdb.set_trace() 
     397        #import pdb;pdb.set_trace() 
    396398        # Get algorithm used for canonicalization of the SignedInfo  
    397399        # element.  Nb. This is NOT necessarily the same as that used to 
     
    411413            except Exception, e: 
    412414                raise VerifyError, \ 
    413             'failed to handle exclusive canonicalisation for SignedInfo: %s' %\ 
     415            'failed to handle exclusive canonicalisation for SignedInfo: %s'%\ 
    414416                        str(e) 
    415417 
Note: See TracChangeset for help on using the changeset viewer.