Ignore:
Timestamp:
18/04/07 09:20:31 (13 years ago)
Author:
pjkersha
Message:

ndg.security.server/ndg/security/server/Log.py: remove ref to 'Logger'

ndg.security.server/ndg/security/server/SessionMgr/server-config.tac:
added M2Crypto SSL support

ndg.security.server/ndg/security/server/SessionMgr/start-container.sh:
copy from Attribute Authority version.

ndg.security.test/ndg/security/test/SessionMgr/SessionMgrClientTest.py:
fix to test5ProxyCertDisconnect call.

ndg.security.test/ndg/security/test/SessionMgr/sessionMgrClientTest.cfg:
set clntprikeypwd to null so that it is not prompted for from terminal.

ndg.security.common/ndg/security/common/SessionMgr/init.py: fix to
disconnect SOAP client call so that userCert omit alone is allowed.

ndg.security.common/ndg/security/common/wsSecurity.py: delete debug call.

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

Legend:

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

    r2270 r2418  
    8484        a cookie is returned""" 
    8585 
    86         passphrase = self.cfg['test2CookieConnect'].get('passphrase') or \ 
    87         getpass.getpass(prompt="\ntest2CookieConnect pass-phrase for user: ") 
     86        passphrase = self.cfg['test2CookieConnect'].get('passphrase') 
     87        if passphrase is None: 
     88            passphrase = getpass.getpass(\ 
     89                     prompt="\ntest2CookieConnect pass-phrase for user: ") 
    8890 
    8991        self.proxyCert, self.proxyPriKey, self.userCert, cookie = \ 
     
    114116 
    115117    def test4CookieDisconnect(self): 
    116         """test4CookieDisconnect: disconnect as if acting as a browser client -  
    117         a cookie is returned""" 
     118        """test4CookieDisconnect: disconnect as if acting as a browser client  
     119        """ 
    118120         
    119121        print "\n\t" + self.test4CookieDisconnect.__doc__ 
     
    132134 
    133135    def test5ProxyCertDisconnect(self): 
    134         """test5ProxyCertDisconnect: Connect as a command line client -  
    135         a proxyCert is returned""" 
     136        """test5ProxyCertDisconnect: Disconnect as a command line client  
     137        """ 
    136138         
    137139        print "\n\t" + self.test5ProxyCertDisconnect.__doc__ 
     
    143145        self.clnt.signingPriKeyPwd = None 
    144146         
    145         self.clnt.disconnect(proxyCert=self.proxyCert) 
     147        self.clnt.disconnect(userCert=self.proxyCert) 
    146148        print "User disconnected from Session Manager:\n%s" % self.proxyCert 
    147149 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrClientTest.cfg

    r2136 r2418  
    2323# Password protecting client private key - if omitted it will be prompted for 
    2424# from tty 
    25 #clntprikeypwd =  
     25clntprikeypwd =  
    2626 
    2727clntcertfilepath = ./clnt-cert.pem 
     
    3939 
    4040[test3ProxyCertConnect]          
    41 #username = sstljakTestUser 
    42 username = gabriel 
     41username = sstljakTestUser 
     42#username = gabriel 
    4343#passphrase =  
    4444 
Note: See TracChangeset for help on using the changeset viewer.