--- exUserFolder.py Fri May 10 22:42:52 2002 +++ exUserFolder.py Fri Jun 28 15:02:48 2002 @@ -107,6 +107,7 @@ sessionTracking=None, idleTimeout=None, REQUEST={}): """ """ + self = self.this() # Call the FactoryDispatcher's this() if hasattr(self.aq_base, 'acl_users'): return MessageDialog(self,REQUEST, title ='Item Exists', @@ -115,8 +116,8 @@ ob=exUserFolder(authId, propId, memberId, cookie_mode, session_length, sessionTracking, idleTimeout, not_session_length) self._setObject('acl_users', ob, None, None, 0) - self.__allow_groups__=self.acl_users - ob=getattr(self, 'acl_users') + self.__allow_groups__=ob + ob=self._getOb('acl_users') ob.postInitialisation(REQUEST) if REQUEST: return self.manage_main(self, REQUEST) @@ -713,14 +714,7 @@ except: pass - if not auth: - return None - - # Only do basic authentication - if lower(auth[:6])!='basic ': - return None - - name,password=tuple(split(decodestring(split(auth)[-1]), ':')) + name, password = self.identify(auth) # # User has logged in recently @@ -1024,8 +1018,7 @@ return self.std_validate(request, auth, roles) def __len__(self): - return len(self.listUsers()) - + return 1 def manage_edit(self, cookie_mode, session_length, sessionTracking=None, idleTimeout=0, not_session_length=0,