Ignore:
Timestamp:
20/08/08 14:03:20 (11 years ago)
Author:
cbyrom
Message:

General refactoring and updating of code, including:

Removal of refC14nKw and singnedInfoC14nKw keywords in wsssecurity session manager config
(the refC14nInclNS and signedInfoC14nInclNS keywords are sufficient);
Creation of new DOM signature handler class, dom.py, based on the wsSecurity
class;
Abstraction of common code between dom.py and etree.py into new parent
class, BaseSignatureHandler?.py.
Fixing and extending use of properties in the SignatureHandler? code.
Fixing a few bugs with the original SignatureHandler? code.
Updating of test cases to new code/code structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/wsSecurity/client/echoClientTest.py

    r4075 r4129  
    1313 
    1414from ConfigParser import SafeConfigParser 
    15 from ndg.security.common import wsSecurity 
     15from ndg.security.common.wssecurity.dom import SignatureHandler 
    1616 
    1717from os.path import expandvars as xpdVars 
     
    4747         
    4848        # Signature handler object is passed to binding 
    49         sigHandler = wsSecurity.SignatureHandler( 
     49        sigHandler = SignatureHandler( 
    5050                                 signingPriKeyFilePath=signingPriKeyFilePath, 
    5151                                 signingPriKeyPwd=signingPriKeyPwd, 
    5252                                 signingCertFilePath=signingCertFilePath, 
    5353                                 caCertFilePathList=caCertFilePathList, 
    54                                  refC14nKw={'unsuppressedPrefixes':[]}, 
    55                                  signedInfoC14nKw={'unsuppressedPrefixes':[]}) 
     54                                 refC14nInclNS=[], 
     55                                 signedInfoC14nInclNS=[]) 
    5656 
    5757        locator = EchoServiceLocator() 
Note: See TracChangeset for help on using the changeset viewer.