Ignore:
Timestamp:
11/08/09 12:30:15 (11 years ago)
Author:
pjkersha
Message:

Refactored SAML package structure into saml2, core and common sub-packages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.saml/saml/test/test_saml.py

    r5596 r5597  
    2222from saml.xml.etree import prettyPrint 
    2323 
    24 from saml import Assertion, Attribute, AttributeValue, AttributeStatement, \ 
    25     SAMLVersion, XSStringAttributeValue, XSGroupRoleAttributeValue, \ 
    26     AttributeQuery, Response, Issuer, Subject, NameID, StatusCode, Status, \ 
    27     Conditions 
    28 from saml.xml import XMLConstants 
     24from saml import XSStringAttributeValue, XSGroupRoleAttributeValue 
     25     
     26from saml.saml2.core import SAMLVersion, Attribute, AttributeStatement, \ 
     27    Assertion, AttributeValue, AttributeQuery, Response, Issuer, Subject, \ 
     28    NameID, StatusCode, Status, Conditions 
     29from saml.common.xml import SAMLConstants 
    2930from saml.xml.etree import AssertionElementTree, \ 
    3031    XSGroupRoleAttributeValueElementTree, AttributeQueryElementTree, \ 
     
    142143            emailAddressAttribute = Attribute() 
    143144            emailAddressAttribute.name = "urn:esg:email:address" 
    144             emailAddressAttribute.nameFormat = XMLConstants.XSD_NS+"#"+\ 
     145            emailAddressAttribute.nameFormat = SAMLConstants.XSD_NS+"#"+\ 
    145146                                        XSStringAttributeValue.TYPE_LOCAL_NAME 
    146147            emailAddressAttribute.friendlyName = "emailAddress" 
Note: See TracChangeset for help on using the changeset viewer.