Ignore:
Timestamp:
12/02/10 17:05:04 (11 years ago)
Author:
pjkersha
Message:
  • Refactored classfactory module as a more generic factory for importing any module object
  • Started unit tests with refactored SAML SOAP bindings.
Location:
TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/authz_lite/securedapp.ini

    r6271 r6570  
    9797# If omitted, DN of SSL Cert is used 
    9898pip.attributeQuery.issuerName =  
    99 pip.attributeQuery.clockSkew = 0. 
     99pip.attributeQuery.subjectIdFormat = urn:esg:openid 
     100pip.attributeQuery.clockSkewTolerance = 0. 
    100101pip.attributeQuery.queryAttributes.0 = urn:siteA:security:authz:1.0:attr, , http://www.w3.org/2001/XMLSchema#string 
    101102pip.attributeQuery.sslCACertDir=%(testConfigDir)s/ca 
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/attributeauthorityclient/attAuthorityClientTest.cfg

    r6062 r6570  
    7777uri = http://localhost:5000/AttributeAuthority/saml 
    7878subject = https://openid.localhost/philip.kershaw 
    79 attributeQuery.clockSkew = 0. 
     79 
     80attributeQuery.subjectIdFormat = urn:esg:openid 
     81attributeQuery.clockSkewTolerance = 0. 
    8082attributeQuery.issuerName = /O=Site A/CN=Authorisation Service 
    8183attributeQuery.queryAttributes.0 = urn:esg:first:name, FirstName, http://www.w3.org/2001/XMLSchema#string 
     
    8688subject = https://openid.localhost/philip.kershaw 
    8789 
    88 attributeQuery.clockSkew = 0. 
     90attributeQuery.subjectIdFormat = urn:esg:openid 
     91attributeQuery.clockSkewTolerance = 0. 
    8992attributeQuery.issuerName = /O=Site A/CN=Authorisation Service 
    9093attributeQuery.queryAttributes.0 = urn:esg:email:address, EmailAddress, http://www.w3.org/2001/XMLSchema#string 
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/attributeauthorityclient/test_attributeauthorityclient.py

    r6052 r6570  
    4040from saml.xml.etree import ResponseElementTree 
    4141 
    42 from ndg.security.common.saml_utils.bindings import SOAPBinding as \ 
     42from ndg.security.common.saml_utils.binding.soap import SOAPBinding as \ 
    4343                                                            SamlSoapBinding 
    44 from ndg.security.common.saml_utils.bindings import AttributeQuerySOAPBinding 
    45 from ndg.security.common.saml_utils.bindings import AttributeQuerySslSOAPBinding 
     44from ndg.security.common.saml_utils.binding.soap.attributequery import ( 
     45                                                AttributeQuerySslSOAPBinding, 
     46                                                AttributeQuerySOAPBinding) 
    4647from ndg.security.common.saml_utils.esg import (EsgSamlNamespaces,  
    4748                                                XSGroupRoleAttributeValue, 
Note: See TracChangeset for help on using the changeset viewer.