Ignore:
Timestamp:
23/07/08 15:48:17 (11 years ago)
Author:
pjkersha
Message:

python/Tests/authtest: Pylons AuthKit? OpenID test code - added error2 controller to experiment with WCS AuthKit? IndexError?.

python/ndg.security.common/ndg/security/common/wssecurity/etree.py,
python/ndg.security.common/ndg/security/common/XMLSec.py: fixes following addition of ElementTree XMLSec implementation for signing for SAML Attribute Assertions

python/ndg.security.common/ndg/security/common/xmlsec/etree.py: ElementTree implementation of enveloped signature. Use with new ElementTree based SAML Attribute Assertion code.

python/ndg.security.common/ndg/security/common/authz/pdp/browse.py,

python/ndg.security.common/ndg/security/common/saml/init.py: new SAML Attribute Assertion implementation to replace NDG Attribute Certificate. Hacked from AttCert? module - much work to go.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.common/ndg/security/common/authz/pdp/proftp.py

    r4035 r4059  
    7474                'tracefile': '', 
    7575                'acCACertFilePathList': [],  
    76                 'acIssuer': ''} 
     76                'acIssuer': '', 
     77                'wssCfgFilePath': None, 
     78                'wssCfgSection': 'DEFAULT'} 
    7779        
    7880    def __init__(self, cfg=None, cfgSection='DEFAULT', **cfgKw): 
     
    9294        self.userHandle = None 
    9395         
    94         # Set from config file 
    9596        # Set from config file 
    9697        if isinstance(cfg, basestring): 
     
    99100        else: 
    100101            self._cfg = cfg 
     102         
     103        # Parse settings 
     104        if cfg: 
     105            self._parseConfig(cfgSection) 
    101106                         
    102107        # Separate keywords into PDP and WS-Security specific items 
     
    274279            self.smClnt = SessionMgrClient(uri=self.smURI, 
    275280                            cfgFilePath=self.cfgFilePath, 
    276                             cfgFileSection='WS-Security', 
     281                            cfgFileSection=self.wssCfgFilePath, 
     282                             
    277283                            sslCACertFilePathList=self.sslCACertFilePathList, 
    278284                            tracefile=self.tracefile)  
Note: See TracChangeset for help on using the changeset viewer.