Ignore:
Timestamp:
11/03/10 14:55:42 (11 years ago)
Author:
pjkersha
Message:
  • Working Attribute Authority client unit tests. Configuration parameters such as issuer and flags to test query timestamp and SAML version string have now been moved out of the Attribute Authority to the generic SAML subject Query middleware interface ndg.security.server.wsgi.saml.SOAPQueryInterfaceMiddleware. This could be moved into the SAML egg at a later stage. The AuthzDecisionQuery? interface should be retested to allow for these changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/__init__.py

    r6276 r6721  
    7474    SITEA_SAML_ISSUER_NAME = "/O=Site A/CN=Attribute Authority" 
    7575     
    76     SESSIONMANAGER_PORTNUM = 5500 
    77      
    7876    NDGSEC_UNITTESTS_DISABLE_THREAD_SERVICES_ENVVAR = \ 
    7977        'NDGSEC_UNITTESTS_DISABLE_THREAD_SERVICES' 
     
    182180                                              'site-a.ini')) 
    183181        self.addService(cfgFilePath=siteACfgFilePath,  
    184                         port=port or BaseTestCase.SITEA_ATTRIBUTEAUTHORITY_PORTNUM, 
     182                        port=(port or  
     183                              BaseTestCase.SITEA_ATTRIBUTEAUTHORITY_PORTNUM), 
    185184                        withSSL=withSSL) 
    186185         
     
    190189                                              'site-b.ini')) 
    191190        self.addService(cfgFilePath=siteBCfgFilePath,  
    192                         port=port or BaseTestCase.SITEB_ATTRIBUTEAUTHORITY_PORTNUM, 
    193                         withSSL=withSSL)         
    194  
    195     def startSessionManager(self): 
    196         """Serve test Session Manager service""" 
    197         cfgFilePath = mkDataDirPath(join('sessionmanager',  
    198                                          'session-manager.ini')) 
    199         self.addService(cfgFilePath=cfgFilePath,  
    200                         port=BaseTestCase.SESSIONMANAGER_PORTNUM) 
    201          
     191                        port=(port or  
     192                              BaseTestCase.SITEB_ATTRIBUTEAUTHORITY_PORTNUM), 
     193                        withSSL=withSSL) 
    202194 
    203195    def __del__(self): 
Note: See TracChangeset for help on using the changeset viewer.