Changeset 784 for TI12-security/trunk
- Timestamp:
- 18/04/06 11:21:39 (14 years ago)
- Location:
- TI12-security/trunk/python
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/python/NDG/Session.py
r740 r784 568 568 569 569 except Exception, e: 570 r aiseAddUserResp(errMsg=str(e))570 return AddUserResp(errMsg=str(e)) 571 571 572 572 return AddUserResp(errMsg='') -
TI12-security/trunk/python/NDG/SessionClient.py
r751 r784 247 247 addUserResp = AddUserResp(xmlTxt=resp['addUserResp'], 248 248 encrPriKeyFilePath=self.__clntPriKeyFilePath, 249 encrPriKeyPwd=clntPriKeyPwd) 249 encrPriKeyPwd=clntPriKeyPwd) 250 except Exception, e: 251 raise SessionClientError("Error adding new user: " + str(e)) 252 250 253 251 if 'errMsg' in addUserResp and addUserResp['errMsg']: 252 raise SessionClientError(addUserResp['errMsg']) 253 254 except Exception, e: 255 raise SessionClientError("Error adding new user: " + str(e)) 254 if 'errMsg' in addUserResp and addUserResp['errMsg']: 255 raise SessionClientError(addUserResp['errMsg']) 256 256 257 257 -
TI12-security/trunk/python/NDG/SimpleCA.py
r543 r784 222 222 "%Y %m %d %H %M %S") 223 223 224 return datetime( lTime[0], lTime[1], lTime[2],225 lTime[3], lTime[4], lTime[5])226 except :224 return datetime(*self.__dtCertExpiry[0:6]) 225 226 except Exception, e: 227 227 raise SimpleCAError("certExpiryDate has the format " + \ 228 228 "YYYY mm dd HH MM SS. Year, month, " + \ -
TI12-security/trunk/python/conf/sessionMgrProperties.xml
r739 r784 24 24 </simpleCACltProp> 25 25 <!-- 26 <simpleCASrvProp> 26 27 <certExpiryDate></certExpiryDate> 27 28 <certLifetimeDays></certLifetimeDays>
Note: See TracChangeset
for help on using the changeset viewer.