Changeset 633


Ignore:
Timestamp:
21/02/06 10:12:23 (14 years ago)
Author:
pjkersha
Message:

Files for deletion are from original prototyping and are no longer needed.
They can be retrieved from a previous release in tags/ if need be.

SessionClient?.py: updated ready for prototype installation.

Location:
TI12-security/trunk/python
Files:
6 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/NDG/SessionClient.py

    r625 r633  
    5252        if smWSDL: 
    5353            self.__setSMwsdl(smWSDL) 
    54          
     54        else: 
     55            self.__smWSDL = None 
     56             
    5557        if smEncrPubKeyFilePath: 
    5658            self.__setSMencrPubKeyFilePath(smEncrPubKeyFilePath) 
    57              
     59        else: 
     60            self.__smEncrPubKeyFilePath = None 
     61                 
    5862        self.__traceFile = traceFile 
    5963 
     
    289293         
    290294        # Session Manager WSDL 
     295        #smWSDL = 'http://livglue.nerc-liv.ac.uk/sessionMgr.wsdl' 
    291296        smWSDL = 'http://glue.badc.rl.ac.uk/sessionMgr.wsdl' 
    292297         
    293298        # Public key of session manager used to encrypt requests 
    294         smEncrPubKeyFilePath = '../certs/badc-sm-cert.pem' 
    295          
    296         userName = 'aharwood'#'pjkersha' 
     299        smEncrPubKeyFilePath = None#'../certs/badc-sm-cert.pem' 
     300         
     301        userName = 'pjkbodc'#'pjkersha' 
    297302 
    298303        sessClnt = SessionClient(smWSDL=smWSDL, 
     
    300305                                 traceFile=sys.stderr) 
    301306         
    302         sessClnt.addUser(userName, pPhraseFilePath="../tmp") 
    303 #        sSessCookie = sessClnt.connect(userName, pPhraseFilePath="../tmp") 
     307#        sessClnt.addUser(userName, pPhraseFilePath="../tmp") 
     308        sSessCookie = sessClnt.connect(userName, pPhraseFilePath="../tmp") 
    304309#        sessCookie = SimpleCookie(sSessCookie) 
    305310#        authResp = sessClnt.reqAuthorisation(sessCookie['NDG-ID1'].value,  
Note: See TracChangeset for help on using the changeset viewer.