Ignore:
Timestamp:
20/08/09 16:30:16 (11 years ago)
Author:
pjkersha
Message:

ndg.security.server.attributeauthority.AttributeAuthority?: added samlAttributeQuery method and new AttributeInterface?.getAttributes plugin class method to enable SAML support as need for ESG.

Location:
TI12-security/trunk/python/ndg.security.test/ndg/security/test
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/site-a.ini

    r5637 r5648  
    1414wsseCfgFilePath = %(here)s/site-a.ini 
    1515wsseCfgFileSection = WS-Security 
     16 
     17[server:main] 
     18use = egg:Paste#http 
     19host = 0.0.0.0 
     20port = 5000 
     21 
     22[app:mainApp] 
     23paste.app_factory = ndg.security.test.config.attributeauthority.sitea.siteAServerApp:app_factory 
     24 
     25# Chain of SOAP Middleware filters 
     26[pipeline:main] 
     27pipeline = wsseSignatureVerificationFilter  
     28                   AttributeAuthorityFilter  
     29                   wsseSignatureFilter  
     30                   mainApp 
     31 
     32 
     33[filter:AttributeAuthorityFilter] 
     34paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
     35ServiceSOAPBindingClass = ndg.security.server.zsi.attributeauthority.AttributeAuthorityWS 
     36ServiceSOAPBindingPropPrefix = attributeAuthority 
     37attributeAuthority.wsseSignatureVerificationFilterID = wsseSignatureVerificationFilter01 
    1638 
    1739# Attribute Authority settings 
     
    5173attributeAuthority.caCertFilePathList: $NDGSEC_TEST_CONFIG_DIR/ca/ndg-test-ca.crt 
    5274 
    53 [server:main] 
    54 use = egg:Paste#http 
    55 host = 0.0.0.0 
    56 port = 5000 
    57  
    58 [app:mainApp] 
    59 paste.app_factory = ndg.security.test.config.attributeauthority.sitea.siteAServerApp:app_factory 
    60  
    61 # Chain of SOAP Middleware filters 
    62 [pipeline:main] 
    63 pipeline = wsseSignatureVerificationFilter  
    64                    AttributeAuthorityFilter  
    65                    wsseSignatureFilter  
    66                    mainApp 
    67  
    68  
    69 [filter:AttributeAuthorityFilter] 
    70 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
    71 ServiceSOAPBindingClass = ndg.security.server.zsi.attributeauthority.AttributeAuthorityWS 
    72 ServiceSOAPBindingPropPrefix = AttributeAuthority 
    73 AttributeAuthority.propPrefix = attributeAuthority 
    74 AttributeAuthority.propFilePath = %(here)s/site-a.ini 
    75 AttributeAuthority.wsseSignatureVerificationFilterID = wsseSignatureVerificationFilter01 
    7675referencedFilters = wsseSignatureVerificationFilter01 
    7776path = /AttributeAuthority 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/siteb/site-b.ini

    r5637 r5648  
    1414wsseCfgFilePath = %(here)s/site-b.ini 
    1515wsseCfgFileSection = WS-Security 
     16 
     17[server:main] 
     18use = egg:Paste#http 
     19host = 0.0.0.0 
     20port = 5100 
     21 
     22[app:mainApp] 
     23paste.app_factory = ndg.security.test.config.attributeauthority.siteb.siteBServerApp:app_factory 
     24 
     25# Chain of SOAP Middleware filters 
     26[pipeline:main] 
     27pipeline = wsseSignatureVerificationFilter AttributeAuthorityFilter wsseSignatureFilter mainApp 
     28 
     29 
     30[filter:AttributeAuthorityFilter] 
     31paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
     32ServiceSOAPBindingClass = ndg.security.server.zsi.attributeauthority.AttributeAuthorityWS 
     33ServiceSOAPBindingPropPrefix = attributeAuthority 
     34attributeAuthority.wsseSignatureVerificationFilterID = wsseSignatureVerificationFilter01 
    1635 
    1736# Attribute Authority settings 
     
    5170attributeAuthority.caCertFilePathList: $NDGSEC_TEST_CONFIG_DIR/ca/ndg-test-ca.crt 
    5271 
    53 [server:main] 
    54 use = egg:Paste#http 
    55 host = 0.0.0.0 
    56 port = 5100 
    57  
    58 [app:mainApp] 
    59 paste.app_factory = ndg.security.test.config.attributeauthority.siteb.siteBServerApp:app_factory 
    60  
    61 # Chain of SOAP Middleware filters 
    62 [pipeline:main] 
    63 pipeline = wsseSignatureVerificationFilter AttributeAuthorityFilter wsseSignatureFilter mainApp 
    64  
    65  
    66 [filter:AttributeAuthorityFilter] 
    67 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
    68 ServiceSOAPBindingClass = ndg.security.server.zsi.attributeauthority.AttributeAuthorityWS 
    69 ServiceSOAPBindingPropPrefix = AttributeAuthority 
    70 AttributeAuthority.propPrefix = attributeAuthority 
    71 AttributeAuthority.propFilePath = %(here)s/site-b.ini 
    72 AttributeAuthority.wsseSignatureVerificationFilterID = wsseSignatureVerificationFilter01 
    7372referencedFilters = wsseSignatureVerificationFilter01 
    7473path = /AttributeAuthority 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/sessionmanager/session-manager.ini

    r5465 r5648  
    131131 
    132132[filter:SessionManagerFilter] 
    133 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     133paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    134134ServiceSOAPBindingClass = ndg.security.server.zsi.sessionmanager.SessionManagerWS 
    135135ServiceSOAPBindingPropPrefix = SessionManager 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/authz/securityservices.ini

    r5637 r5648  
    361361# This filter is a container for a binding to a SOAP based interface to the 
    362362# Attribute Authority 
    363 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     363paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    364364 
    365365# Use this ZSI generated SOAP service interface class to handle i/o for this 
     
    406406# This filter is a container for a binding to a SOAP based interface to the 
    407407# Session Manager 
    408 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     408paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    409409 
    410410# Use this ZSI generated SOAP service interface class to handle i/o for this 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/authz_lite/securityservices.ini

    r5637 r5648  
    233233# This filter is a container for a binding to a SOAP based interface to the 
    234234# Attribute Authority 
    235 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     235paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    236236 
    237237# Use this ZSI generated SOAP service interface class to handle i/o for this 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/combinedservices/services.ini

    r5637 r5648  
    224224# This filter is a container for a binding to a SOAP based interface to the 
    225225# Attribute Authority 
    226 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     226paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    227227 
    228228# Use this ZSI generated SOAP service interface class to handle i/o for this 
     
    269269# This filter is a container for a binding to a SOAP based interface to the 
    270270# Session Manager 
    271 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     271paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    272272 
    273273# Use this ZSI generated SOAP service interface class to handle i/o for this 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/openid/securityservices.ini

    r5637 r5648  
    312312# This filter is a container for a binding to a SOAP based interface to the 
    313313# Attribute Authority 
    314 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     314paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    315315 
    316316# Use this ZSI generated SOAP service interface class to handle i/o for this 
     
    357357# This filter is a container for a binding to a SOAP based interface to the 
    358358# Session Manager 
    359 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     359paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    360360 
    361361# Use this ZSI generated SOAP service interface class to handle i/o for this 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/openidprovider/securityservices.ini

    r5637 r5648  
    278278# This filter is a container for a binding to a SOAP based interface to the 
    279279# Attribute Authority 
    280 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     280paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    281281 
    282282# Use this ZSI generated SOAP service interface class to handle i/o for this 
     
    323323# This filter is a container for a binding to a SOAP based interface to the 
    324324# Session Manager 
    325 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     325paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    326326 
    327327# Use this ZSI generated SOAP service interface class to handle i/o for this 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/openidrelyingparty_withapp/securityservices.ini

    r5637 r5648  
    180180# This filter is a container for a binding to a SOAP based interface to the 
    181181# Attribute Authority 
    182 paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPBindingMiddleware 
     182paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    183183 
    184184# Use this ZSI generated SOAP service interface class to handle i/o for this 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/unit/credentialwallet/test_credentialwallet.py

    r5290 r5648  
    171171                   
    172172        credWallet = CredentialWallet(cfg=self.cfg.get('setUp', 'cfgFilePath')) 
    173         credWallet.attributeAuthority = AttributeAuthority( 
     173        credWallet.attributeAuthority = AttributeAuthority.fromPropertyFile( 
    174174                                            propFilePath=aaPropFilePath) 
    175175        attCert = credWallet.getAttCert() 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/unit/nosetests.ini

    r5560 r5648  
    1313# 
    1414[nosetests] 
    15 exclude: test_ssl 
    1615tests: ./x509/test_x509.py, 
    1716        ./x509/test_x509.py, 
     
    2625        ./openid/relyingparty/validation/test_validation.py, 
    2726        ./xmlsec/etree/test_etree.py, 
    28         ./wsgi/authn/test_authn.py, 
     27#       ./wsgi/authn/test_authn.py, 
    2928#       ./wsgi/ssl/test_ssl.py, 
    3029        ./wsgi/authz/test_authz.py, 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/unit/sessionmanager/test_sessionmanager.py

    r5290 r5648  
    361361        section = 'test12GetAttCertFromLocalAAInstance' 
    362362        aaPropFilePath = self.cfg.get(section, 'aaPropFilePath') 
    363         attributeAuthority=AttributeAuthority(propFilePath=aaPropFilePath) 
     363        attributeAuthority=AttributeAuthority.fromPropertyFile( 
     364                                                propFilePath=aaPropFilePath) 
    364365         
    365366        attCert = self.sm.getAttCert(sessID=self.sessID,  
Note: See TracChangeset for help on using the changeset viewer.