[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7154 - trunk/gnue-common/src/datasources/drivers/appserver/appse
From: |
reinhard |
Subject: |
[gnue] r7154 - trunk/gnue-common/src/datasources/drivers/appserver/appserver |
Date: |
Thu, 10 Mar 2005 12:31:39 -0600 (CST) |
Author: reinhard
Date: 2005-03-10 12:31:38 -0600 (Thu, 10 Mar 2005)
New Revision: 7154
Modified:
trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
Log:
Send '_username' and '_password' instead of 'user' and 'password'.
Modified:
trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
2005-03-10 18:10:38 UTC (rev 7153)
+++ trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
2005-03-10 18:31:38 UTC (rev 7154)
@@ -92,23 +92,11 @@
def connect (self, connectData):
- user = connectData.get ('_username', None)
- passwd = connectData.get ('_password', None)
-
self.__getSessionManager ()
-
self.__updateFilters (connectData)
try:
- if connectData.has_key ('_username'):
- del connectData ['_username']
- if connectData.has_key ('_password'):
- del connectData ['_password']
- connectData ['user'] = user
- connectData ['password'] = passwd
-
self._sess_id = self._sm.open (connectData)
-
except errors.RemoteError, e:
if e.getName () == 'AuthError':
raise Exceptions.LoginError, e.getMessage ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7154 - trunk/gnue-common/src/datasources/drivers/appserver/appserver,
reinhard <=