Ignore:
Timestamp:
21/11/08 12:47:38 (12 years ago)
Author:
pjkersha
Message:

Combined Services tests:

  • added capability for Session Manager to call a local Attribute Authority in the WSGI stack of the same Paste instance
  • SOAP client can specify that the Session Manager call a local Attribute Authority by setting AttAuthorityURI to nill in the web service call.
Location:
TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/services.ini

    r4464 r4480  
    152152# Chain of SOAP Middleware filters 
    153153[pipeline:main] 
    154 pipeline = wsseSignatureVerificationFilter SessionManagerFilter AttributeAuthorityFilter wsseSignatureFilter mainApp 
     154pipeline = wsseSignatureVerificationFilter AttributeAuthorityFilter SessionManagerFilter wsseSignatureFilter mainApp 
    155155 
    156156 
     
    165165enableWSDLQuery = True 
    166166charset = utf-8 
     167filterID = attributeAuthorityFilter 
    167168 
    168169[filter:SessionManagerFilter] 
     
    172173SessionManager.propPrefix = sessionManager 
    173174SessionManager.propFilePath = $NDGSEC_COMBINED_SRVS_UNITTEST_DIR/services.ini 
    174 referencedFilters = wsseSignatureVerificationFilter01 
     175SessionManager.attributeAuthorityFilterID = attributeAuthorityFilter 
     176referencedFilters = wsseSignatureVerificationFilter01 attributeAuthorityFilter 
    175177path = /SessionManager 
    176178enableWSDLQuery = True 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/test_combinedservices.py

    r4479 r4480  
    253253           
    254254        print("Attribute Certificate:\n%s" % attCert)   
    255              
     255 
     256 
     257    def test08GetAttCertFromLocalAttributeAuthority(self): 
     258        """test08GetAttCertFromLocalAttributeAuthority: query the Attribute 
     259        Authority running in the same server instance as the Session Manager""" 
     260 
     261        print "\n\t" + self.test08GetAttCertFromLocalAttributeAuthority.__doc__ 
     262        self.test01Connect() 
     263         
     264        attCert = self.clnt.getAttCert(sessID=self.sessID) 
     265         
     266        print "Attribute Certificate:\n%s" % attCert  
     267 
    256268             
    257269class CombinedServicesTestSuite(unittest.TestSuite): 
Note: See TracChangeset for help on using the changeset viewer.