Ignore:
Timestamp:
10/01/08 14:45:59 (12 years ago)
Author:
pjkersha
Message:

security/architecture/uml/ndg2-dews-security-beta.eap: update from EA upgrade

security/python/ndg.security.client/setup.cfg,
security/python/ndg.security.common/setup.cfg,
security/python/ndg.security.server/setup.cfg,
security/python/ndg.security.test/setup.cfg,
security/python/setup.cfg: new release tag for OMII-UK 1st drop

security/python/ndg.security.server/ndg/security/server/MyProxy.py: iimprove error message for cert file not found - incl. CA cert.

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/README: addtional note about ensuring MYPROXY_SERVER env for server.py shell
security/python/ndg.security.test/ndg/security/test/sessionMgrClient/server.sh: deleted - server.py replaces it

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/SessionMgrClientTest.py: working version with test certs included in SVN and unit test env var refs.

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrProperties.xml: incl. default serverCNprefix elem setting

security/python/ndg.security.test/setup.py: important fixes to ensure test data and test certs are included in package data for egg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgrClient/SessionMgrClientTest.py

    r3195 r3196  
    6464                os.path.abspath(os.path.dirname(__file__)) 
    6565         
    66         self.cfg = SafeConfigParser() 
     66        configParser = SafeConfigParser() 
    6767        configFilePath = jnPath(os.environ['NDGSEC_SMCLNT_UNITTEST_DIR'], 
    6868                                "sessionMgrClientTest.cfg") 
    69         self.cfg.read(configFilePath) 
     69        configParser.read(configFilePath) 
    7070         
    7171        self.cfg = {} 
     
    9696            sslCACertList = [] 
    9797           
    98         clntCertFilePath = self.cfg['setUp']['clntcertfilepath'] 
    99         clntPriKeyFilePath = self.cfg['setUp']['clntprikeyfilepath'] 
     98        clntCertFilePath = xpdVars(self.cfg['setUp']['clntcertfilepath']) 
     99        clntPriKeyFilePath = xpdVars(self.cfg['setUp']['clntprikeyfilepath']) 
    100100         
    101101        reqBinSecTokValType = self.cfg['setUp'].get('reqbinsectokvaltype') 
     
    154154                                                        (username, self.sessID) 
    155155             
    156         creds = self.issuingCert or '' + userCert + self.userPriKey 
     156        creds = self.issuingCert or '' + self.userCert + self.userPriKey 
    157157        open(mkPath("user.creds"), "w").write(creds) 
    158158             
Note: See TracChangeset for help on using the changeset viewer.