Changeset 5733


Ignore:
Timestamp:
17/09/09 16:51:45 (10 years ago)
Author:
pjkersha
Message:

Fixed and updated authz_lite integration test

File:
1 edited

Legend:

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

    r5655 r5733  
    2424beakerSessionKeyName = beaker.session.ndg.security.services 
    2525 
     26# Global Attribute Authority Settings 
     27attributeAuthorityEnvironKeyName = ndg.security.server.attributeauthority.AttributeAuthority 
     28attributeQueryInterfaceEnvironKeyName = ndg.security.server.attributeauthority.attributeQueryInterface 
     29 
     30 
    2631[server:main] 
    2732use = egg:Paste#http 
     
    4853pipeline = wsseSignatureVerificationFilter  
    4954                   AttributeAuthorityFilter  
     55                   AttributeAuthorityWsdlSoapBindingFilter 
    5056           wsseSignatureFilter  
     57           AttributeAuthoritySamlSoapBindingFilter 
    5158                   SessionMiddlewareFilter 
    5259                   OpenIDRelyingPartyFilter 
     
    194201# 
    195202[filter:AttributeAuthorityFilter] 
    196 # This filter is a container for a binding to a SOAP based interface to the 
    197 # Attribute Authority 
    198 paste.filter_app_factory = ndg.security.server.wsgi.zsi:SOAPBindingMiddleware 
    199  
    200 # Provide an identifier for this filter so that main WSGI app  
    201 # CombinedServicesWSGI Session Manager filter can call this Attribute Authority 
    202 # directly 
    203 referencedFilters = filter:wsseSignatureVerificationFilter 
    204  
    205 # Path from URL for Attribute Authority in this Paste deployment 
    206 path = /AttributeAuthority 
    207  
    208 # External endpoint for this Attribute Authority - must agree with setting used 
    209 # to invoke this service set in: 
    210 # * serverapp.py  
    211 # * or port in [server:main] if calling with paster serve securityservices.ini 
    212 # * or something else e.g. proxied through Apache? 
    213 # This setting is used by Attribute Authority clients in this WSGI stack to see 
    214 # if a request is being made to the local service or to another Attribute  
    215 # Authority running elsewhere 
    216 publishedURI = %(baseURI)s%(path)s 
    217  
    218 # Enable ?wsdl query argument to list the WSDL content 
    219 enableWSDLQuery = True 
    220 charset = utf-8 
    221 filterID = %(__name__)s 
    222  
    223 # Use this ZSI generated SOAP service interface class to handle i/o for this 
    224 # filter 
    225 ServiceSOAPBindingClass = ndg.security.server.zsi.attributeauthority.AttributeAuthorityWS 
    226  
    227 # SOAP Binding Class specific keywords are in this section identified by this 
    228 # prefix: 
    229 ServiceSOAPBindingPropPrefix = attributeAuthority 
    230  
    231 attributeAuthority.wsseSignatureVerificationFilterID = filter:wsseSignatureVerificationFilter 
     203# This filter publishes an Attribute Authority instance as a key in environ 
     204# to enable other middleware to access it 
     205paste.filter_app_factory = ndg.security.server.wsgi.attributeauthority:AttributeAuthorityMiddleware.filter_app_factory 
     206prefix = attributeAuthority. 
     207 
     208# Key name by which the WSDL SOAP based interface may reference this 
     209# service 
     210attributeAuthority.environKeyName = %(attributeAuthorityEnvironKeyName)s 
    232211 
    233212# Attribute Authority settings 
     
    268247 
    269248 
     249# SOAP WSDL Based Binding to the Attribute Authority 
     250[filter:AttributeAuthorityWsdlSoapBindingFilter] 
     251paste.filter_app_factory = ndg.security.server.wsgi.attributeauthority:AttributeAuthoritySOAPBindingMiddleware.filter_app_factory 
     252prefix = service.soap.binding. 
     253attributeAuthoritySOAPBindingPrefix = attributeauthority.service.soap.binding. 
     254 
     255service.soap.binding.referencedFilters = filter:wsseSignatureVerificationFilter 
     256service.soap.binding.path = /AttributeAuthority 
     257service.soap.binding.enableWSDLQuery = True 
     258service.soap.binding.charset = utf-8 
     259service.soap.binding.serviceSOAPBindingEnvironKeyName = ndg.security.server.wsgi.attributeauthority.AttributeAuthoritySOAPBindingMiddleware 
     260 
     261attributeauthority.service.soap.binding.attributeAuthorityEnvironKeyName = %(attributeAuthorityEnvironKeyName)s 
     262attributeauthority.service.soap.binding.wsseSignatureVerificationFilterID = filter:wsseSignatureVerificationFilter 
     263 
     264 
     265# SAML SOAP Binding to the Attribute Authority 
     266[filter:AttributeAuthoritySamlSoapBindingFilter] 
     267paste.filter_app_factory = ndg.security.server.wsgi.saml:SOAPAttributeInterfaceMiddleware.filter_app_factory 
     268prefix = saml.soapbinding. 
     269 
     270saml.soapbinding.pathMatchList = /AttributeAuthority/saml 
     271saml.soapbinding.queryInterfaceKeyName = %(attributeQueryInterfaceEnvironKeyName)s 
     272 
     273 
    270274#______________________________________________________________________________ 
    271275# WS-Security Signature Verification 
    272276[filter:wsseSignatureVerificationFilter] 
    273 paste.filter_app_factory = ndg.security.server.wsgi.wssecurity:SignatureVerificationFilter 
     277paste.filter_app_factory = ndg.security.server.wsgi.wssecurity:SignatureVerificationFilter.filter_app_factory 
    274278filterID = %(__name__)s 
    275279 
     
    280284wssecurity.caCertFilePathList=%(testConfigDir)s/ca/ndg-test-ca.crt 
    281285 
     286 
    282287#______________________________________________________________________________ 
    283288# Apply WS-Security Signature  
    284289[filter:wsseSignatureFilter] 
    285 paste.filter_app_factory = ndg.security.server.wsgi.wssecurity:ApplySignatureFilter 
     290paste.filter_app_factory = ndg.security.server.wsgi.wssecurity:ApplySignatureFilter.filter_app_factory 
    286291 
    287292# Reference the verification filter in order to be able to apply signature 
Note: See TracChangeset for help on using the changeset viewer.