Ignore:
Timestamp:
17/02/10 14:45:28 (11 years ago)
Author:
pjkersha
Message:
  • Fixes to SAML Attribute Query client.
  • Work query to ESG Authz service
  • fixes for MyProxy? SAML callout
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/config/attributeauthority/sitea/site-a.ini

    r6575 r6584  
    104104# SAML SOAP Binding to the Attribute Authority 
    105105[filter:AttributeAuthoritySamlSoapBindingFilter] 
    106 paste.filter_app_factory = ndg.security.server.wsgi.saml.attributeinterface:SOAPAttributeInterfaceMiddleware.filter_app_factory 
     106paste.filter_app_factory = ndg.security.server.wsgi.saml:SOAPQueryInterfaceMiddleware.filter_app_factory 
    107107prefix = saml.soapbinding. 
    108108 
     109saml.soapbinding.serialise = saml.xml.etree:ResponseElementTree.toXML 
     110saml.soapbinding.deserialise = saml.xml.etree:AttributeQueryElementTree.fromXML 
    109111saml.soapbinding.pathMatchList = /AttributeAuthority/saml 
    110112saml.soapbinding.queryInterfaceKeyName = %(attributeQueryInterfaceEnvironKeyName)s 
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/myproxy/certificate_extapp/config.ini

    r6062 r6584  
    1313openIdSqlQuery = select openid from users where username = '${username}'      
    1414attributeAuthorityURI = https://localhost:5443/AttributeAuthority/saml 
     15attributeQuery.subjectIdFormat = urn:esg:openid 
    1516attributeQuery.issuerName = /O=Site A/CN=Authorisation Service 
    16 attributeQuery.clockSkew = 0 
     17attributeQuery.clockSkewTolerance = 0 
    1718attributeQuery_queryAttributes.0 = urn:esg:email:address, EmailAddress, http://www.w3.org/2001/XMLSchema#string 
    1819attributeQuery.queryAttributes.roles = urn:siteA:security:authz:1.0:attr, , http://www.w3.org/2001/XMLSchema#string 
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/myproxy/certificate_extapp/test_saml_attribute_assertion.py

    r6064 r6584  
    2222from sqlalchemy.orm import sessionmaker 
    2323 
     24from ndg.security.common.saml_utils.esg import EsgSamlNamespaces 
    2425from ndg.security.test.unit import BaseTestCase 
    2526from ndg.security.server.myproxy.certificate_extapp.saml_attribute_assertion \ 
     
    5354        myProxyCertExtApp.attributeQuery.issuerName = \ 
    5455                                        "/CN=Authorisation Service/O=Site A" 
     56        myProxyCertExtApp.attributeQuery.subjectIdFormat = \ 
     57                                        EsgSamlNamespaces.NAMEID_FORMAT                                 
    5558        myProxyCertExtApp.attributeQuery.subjectID = \ 
    5659                                        CertExtAppTestCase.OPENID_URI 
     
    8386        myProxyCertExtApp.attributeQuery.issuerName = \ 
    8487                            "/CN=Authorisation Service/O=Site A" 
    85                                          
     88 
     89        myProxyCertExtApp.attributeQuery.subjectIdFormat = \ 
     90                                        EsgSamlNamespaces.NAMEID_FORMAT                                         
    8691        myProxyCertExtApp.attributeQuery.sslCACertDir = \ 
    8792                                                CertExtAppTestCase.CACERT_DIR 
Note: See TracChangeset for help on using the changeset viewer.