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.common/ndg/security/common/wssecurity/__init__.py

    r3892 r4129  
    3939             addTimestamp=True, 
    4040             applySignatureConfirmation=False, 
    41              refC14nKw={'unsuppressedPrefixes': []}, 
    4241             refC14nInclNS=[], 
    43              signedInfoC14nKw = {'unsuppressedPrefixes': []}, 
    4442             signedInfoC14nInclNS=[]) 
    4543     
     
    8583            # Options may be omitted and set later 
    8684            if self._cfg.has_option(section, paramName): 
    87                 # Switch based defParam type - TODO: refC14nKw and  
    88                 # signedInfoC14nKw - maybe these should be removed as they're 
    89                 # clumsy 
    9085                if isinstance(WSSecurityConfig.defParam[paramName], list): 
    9186                    try: 
     
    198193    def itervalues(self): 
    199194        return self._param.itervalues() 
    200  
    201 # Temporary measure - until... 
    202 # TODO: Move wsSecurity module into this package 
    203 from ndg.security.common.wsSecurity import * 
    204195    
Note: See TracChangeset for help on using the changeset viewer.