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_test/ndg/security/test/unit/wsgi/saml/test_soapattributeinterface.py

    r7077 r7698  
    2222 
    2323from ndg.security.common.soap.etree import SOAPEnvelope 
    24 from ndg.security.common.saml_utils.esg import EsgSamlNamespaces 
     24from ndg.security.common.saml_utils.esgf import ESGFSamlNamespaces 
    2525from ndg.security.test.unit.wsgi.saml import SoapSamlInterfaceMiddlewareTestCase 
    2626 
     
    4444        attributeQuery.subject = Subject()   
    4545        attributeQuery.subject.nameID = NameID() 
    46         attributeQuery.subject.nameID.format = EsgSamlNamespaces.NAMEID_FORMAT 
     46        attributeQuery.subject.nameID.format = ESGFSamlNamespaces.NAMEID_FORMAT 
    4747        attributeQuery.subject.nameID.value = subject 
    4848                                     
     
    5050        # special case handling for 'FirstName' attribute 
    5151        fnAttribute = Attribute() 
    52         fnAttribute.name = EsgSamlNamespaces.FIRSTNAME_ATTRNAME 
     52        fnAttribute.name = ESGFSamlNamespaces.FIRSTNAME_ATTRNAME 
    5353        fnAttribute.nameFormat = "http://www.w3.org/2001/XMLSchema#string" 
    5454        fnAttribute.friendlyName = "FirstName" 
     
    5858        # special case handling for 'LastName' attribute 
    5959        lnAttribute = Attribute() 
    60         lnAttribute.name = EsgSamlNamespaces.LASTNAME_ATTRNAME 
     60        lnAttribute.name = ESGFSamlNamespaces.LASTNAME_ATTRNAME 
    6161        lnAttribute.nameFormat = "http://www.w3.org/2001/XMLSchema#string" 
    6262        lnAttribute.friendlyName = "LastName" 
     
    6666        # special case handling for 'LastName' attribute 
    6767        emailAddressAttribute = Attribute() 
    68         emailAddressAttribute.name = EsgSamlNamespaces.EMAILADDRESS_ATTRNAME 
     68        emailAddressAttribute.name = ESGFSamlNamespaces.EMAILADDRESS_ATTRNAME 
    6969        emailAddressAttribute.nameFormat = XMLConstants.XSD_NS+"#"+\ 
    7070                                    XSStringAttributeValue.TYPE_LOCAL_NAME 
Note: See TracChangeset for help on using the changeset viewer.