Ignore:
Timestamp:
08/10/07 09:17:08 (13 years ago)
Author:
pjkersha
Message:

ndg.security.common/ndg/security/common/AttAuthority/init.py:

  • fix to AttAuthorityClient?.getAllHostInfo - RoleList? attribute is returned from ZSI ZPI call even if the SOAP XML element is nulled - include in return as [] 'role' dict key regardless.

ndg.security.common/ndg/security/common/m2CryptoSSLUtility.py:

  • new exception InvalidCertDN - use to raise an exception if peer cert DN doesn't match list of acceptedDNs
  • new keyword to HostCheck?.init - acceptedDNs. This enables validation by a check of the peer cert DN against a limited list of certs.
File:
1 edited

Legend:

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

    r2931 r2932  
    388388                'loginServerDN': host.LoginServerDN, 
    389389                'loginRequestServerDN': host.LoginRequestServerDN, 
     390                'role': host.RoleList 
    390391            } 
    391              
    392             # The Attribute Authority called doesn't have a role list for its 
    393             # entry 
    394             if hasattr(host, 'RoleList'): 
    395                allHostInfo[hostname]['role']= host.RoleList 
    396392 
    397393        return allHostInfo    
Note: See TracChangeset for help on using the changeset viewer.