Ignore:
Timestamp:
27/08/08 11:48:57 (12 years ago)
Author:
cbyrom
Message:

Implement consistent use of keywords throughout the codebase - using
the wssecurity class as the guide - effectively changing the xml
property file key names to match those of the ini files. Also remove
useSignatureHandler keyword and replace with a check for the WS-Security
property + add better checking of properties in the tac and py files
+ add new config files and remove some unnecessary ones.

File:
1 edited

Legend:

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

    r4129 r4138  
    4747 
    4848        # Derive designated holder cert differently according to whether 
    49         # a signed message is expected from the client 
    50         if self.aa['useSignatureHandler']: 
     49        # a signed message is expected from the client - NB, this is dependent 
     50        # on WS-Security properties having been set 
     51        if self.aa.has_key('WS-Security'): 
    5152            # Get certificate corresponding to private key that signed the 
    5253            # message - i.e. the user's proxy 
     
    197198        request, response = _AttAuthorityService.soap_getX509Cert(self, ps) 
    198199         
    199         x509Cert = X509CertRead(self.aa['certFile']) 
     200        x509Cert = X509CertRead(self.aa['signingCertFilePath']) 
    200201        response.X509Cert = base64.encodestring(x509Cert.asDER()) 
    201202        return request, response 
Note: See TracChangeset for help on using the changeset viewer.