Ignore:
Timestamp:
09/12/08 17:01:44 (11 years ago)
Author:
pjkersha
Message:

Started integration work for common WSGI/SOAP client based interfaces (ndg.security.server.wsgi.utils.sessionmanagerclient and ndg.security.server.wsgi.utils.attributeauthorityclient) with Pylons Single Sign On package (ndg.security.server.sso)

Location:
TI12-security/trunk/python/ndg.security.common/ndg/security/common
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.common/ndg/security/common/attributeauthority.py

    r4521 r4584  
    111111         
    112112        if uri: 
    113             self.__setURI(uri) 
     113            self.uri = uri 
    114114 
    115115        self.httpProxyHost = httpProxyHost 
     
    135135         
    136136        # Instantiate Attribute Authority WS proxy 
    137         if self.__uri: 
     137        if self.uri: 
    138138            self.initService() 
    139139         
  • TI12-security/trunk/python/ndg.security.common/ndg/security/common/sessionmanager.py

    r4545 r4584  
    7777                    ac = AttCertParse(ac) 
    7878                elif not isinstance(ac, AttCert): 
    79                     raise SessionManagerClientError( 
    80                         "Input external Attribute Cert. must be AttCert type") 
     79                    raise SessionManagerClientError("Input external Attribute " 
     80                                                    "Certificate must be " 
     81                                                    "AttCert type") 
    8182                          
    8283                self.__extAttCertList += [ac] 
  • TI12-security/trunk/python/ndg.security.common/ndg/security/common/wssecurity/__init__.py

    r4527 r4584  
    225225                # Default to None if setting is an empty string.  Settings 
    226226                # of '' causes problems for M2Crypto parsing 
    227                 seqFilt[optName] = exVar(optVal) or None 
     227                if optVal is None: 
     228                    seqFilt[optName] = optVal 
     229                else: 
     230                    seqFilt[optName] = exVar(optVal) or None 
    228231                 
    229232        if len(badKeys) > 0: 
Note: See TracChangeset for help on using the changeset viewer.