Changeset 3832 for TI12-security
- Timestamp:
- 30/04/08 17:09:59 (12 years ago)
- Location:
- TI12-security/trunk/python/ndg.security.common/ndg/security/common
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/python/ndg.security.common/ndg/security/common/AttAuthority/AttAuthority_services.py
r3044 r3832 8 8 import urlparse, types 9 9 from ZSI.TCcompound import ComplexType, Struct 10 from ZSI importclient10 from ndg.security.common.zsi_utils import urllib2client as client 11 11 import ZSI 12 12 from ZSI.generate.pyclass import pyclass_type … … 29 29 # no ws-addressing 30 30 31 # op: <ZSI.wstools.WSDLTools.Message instance at 0x 407731ac>31 # op: <ZSI.wstools.WSDLTools.Message instance at 0x84a3dec> 32 32 def getAttCert(self, userId,userCert,userAttCert): 33 33 … … 46 46 return attCert,msg 47 47 48 # op: <ZSI.wstools.WSDLTools.Message instance at 0x 4077362c>48 # op: <ZSI.wstools.WSDLTools.Message instance at 0x84a812c> 49 49 def getHostInfo(self): 50 50 … … 64 64 return hostname,aaURI,aaDN,loginURI,loginServerDN,loginRequestServerDN 65 65 66 # op: <ZSI.wstools.WSDLTools.Message instance at 0x 4077b3cc>66 # op: <ZSI.wstools.WSDLTools.Message instance at 0x84a8d8c> 67 67 def getTrustedHostInfo(self, role): 68 68 … … 78 78 return trustedHosts 79 79 80 # op: <ZSI.wstools.WSDLTools.Message instance at 0x 4077b56c>80 # op: <ZSI.wstools.WSDLTools.Message instance at 0x84a8f2c> 81 81 def getAllHostsInfo(self): 82 82 … … 91 91 return hosts 92 92 93 # op: <ZSI.wstools.WSDLTools.Message instance at 0x 4077b6ec>93 # op: <ZSI.wstools.WSDLTools.Message instance at 0x84b20cc> 94 94 def getX509Cert(self): 95 95 -
TI12-security/trunk/python/ndg.security.common/ndg/security/common/AttAuthority/Makefile
r2036 r3832 17 17 OPTS=-be -f 18 18 19 STUB_FILE=AttAuthority_services.py 20 TMP_FILE=AttAuthority_services.tmp 21 22 ORIG1=from ZSI import client 23 REPL1=from ndg.security.common.zsi_utils import urllib2client as client 24 19 25 generateStubs: ${WSDL_FILE} 26 @echo Generate stub ... 20 27 ${CMD} ${OPTS} ${WSDL_FILE} 28 @echo Make substitutions for HTTP Proxy custom Client Binding class fix ... 29 cat ${STUB_FILE}|sed s/"${ORIG1}"/"${REPL1}"/g > ${TMP_FILE} 30 @mv ${TMP_FILE} ${STUB_FILE} 31 @echo Done. 32 -
TI12-security/trunk/python/ndg.security.common/ndg/security/common/SessionMgr/Makefile
r2510 r3832 17 17 OPTS=-be -f 18 18 19 STUB_FILE=SessionMgr_services.py 20 TMP_FILE=SessionMgr_services.tmp 21 22 ORIG1=from ZSI import client 23 REPL1=from ndg.security.common.zsi_utils import urllib2client as client 24 19 25 generateStubs: ${WSDL_FILE} 26 @echo Generate stub ... 20 27 ${CMD} ${OPTS} ${WSDL_FILE} 28 @echo Make substitutions for HTTP Proxy custom Client Binding class fix ... 29 cat ${STUB_FILE}|sed s/"${ORIG1}"/"${REPL1}"/g > ${TMP_FILE} 30 @mv ${TMP_FILE} ${STUB_FILE} 31 @echo Done. 32 -
TI12-security/trunk/python/ndg.security.common/ndg/security/common/SessionMgr/SessionMgr_services.py
r3145 r3832 8 8 import urlparse, types 9 9 from ZSI.TCcompound import ComplexType, Struct 10 from ZSI importclient10 from ndg.security.common.zsi_utils import urllib2client as client 11 11 import ZSI 12 12 from ZSI.generate.pyclass import pyclass_type … … 29 29 # no ws-addressing 30 30 31 # op: <ZSI.wstools.WSDLTools.Message instance at 0x 407533cc>31 # op: <ZSI.wstools.WSDLTools.Message instance at 0x84a844c> 32 32 def getSessionStatus(self, userDN,sessID): 33 33 … … 44 44 return isAlive 45 45 46 # op: <ZSI.wstools.WSDLTools.Message instance at 0x 4075382c>46 # op: <ZSI.wstools.WSDLTools.Message instance at 0x84a874c> 47 47 def connect(self, username,passphrase,createServerSess): 48 48 … … 63 63 return userCert,userPriKey,issuingCert,sessID 64 64 65 # op: <ZSI.wstools.WSDLTools.Message instance at 0x 4075a66c>65 # op: <ZSI.wstools.WSDLTools.Message instance at 0x84af46c> 66 66 def disconnect(self, userCert,sessID): 67 67 … … 77 77 return 78 78 79 # op: <ZSI.wstools.WSDLTools.Message instance at 0x 4075a80c>79 # op: <ZSI.wstools.WSDLTools.Message instance at 0x84af60c> 80 80 def getAttCert(self, userCert,sessID,attAuthorityURI,attAuthorityCert,reqRole,mapFromTrustedHosts,rtnExtAttCertList,extAttCert,extTrustedHost): 81 81 … … 101 101 return attCert,msg,extAttCertOut 102 102 103 # op: <ZSI.wstools.WSDLTools.Message instance at 0x 4075a98c>103 # op: <ZSI.wstools.WSDLTools.Message instance at 0x84af78c> 104 104 def getX509Cert(self): 105 105
Note: See TracChangeset
for help on using the changeset viewer.