Ignore:
Timestamp:
04/11/10 13:55:40 (10 years ago)
Author:
pjkersha
Message:

Integrated SAML ESGF Group/Role? attribute value type into SAML Attribute Authority client unit tests.

File:
1 edited

Legend:

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

    r7507 r7698  
    3636                                 StatusCode, StatusMessage) 
    3737 
    38 from ndg.security.common.saml_utils.esg import EsgSamlNamespaces 
     38from ndg.security.common.saml_utils.esgf import ESGFSamlNamespaces 
    3939from ndg.security.common.X509 import X500DN 
    4040from ndg.security.common.utils import TypedList 
     
    461461        utcNow = datetime.utcnow() 
    462462        if (attributeQuery.subject.nameID.format !=  
    463             EsgSamlNamespaces.NAMEID_FORMAT): 
     463            ESGFSamlNamespaces.NAMEID_FORMAT): 
    464464            log.error('SAML Attribute Query subject format is %r; expecting ' 
    465465                      '%r' % (attributeQuery.subject.nameID.format, 
    466                                 EsgSamlNamespaces.NAMEID_FORMAT)) 
     466                                ESGFSamlNamespaces.NAMEID_FORMAT)) 
    467467            samlResponse.status.statusCode.value = StatusCode.REQUESTER_URI 
    468468            samlResponse.status.statusMessage.value = \ 
Note: See TracChangeset for help on using the changeset viewer.