[Zope-CVS] CVS: Products/PluggableAuthService - PluggableAuthService.py:1.19.2.7 __init__.py:1.4.2.2 PASCache.py:NONE

Jens Vagelpohl jens at dataflake.org
Mon Nov 8 04:18:07 EST 2004


Update of /cvs-repository/Products/PluggableAuthService
In directory cvs.zope.org:/tmp/cvs-serv9211

Modified Files:
      Tag: jens-implement_caching_branch
	PluggableAuthService.py __init__.py 
Removed Files:
      Tag: jens-implement_caching_branch
	PASCache.py 
Log Message:
- revert to use RAM Cache Manager, which will receive the improvements
  that the PAS RAM Cache Manager had


=== Products/PluggableAuthService/PluggableAuthService.py 1.19.2.6 => 1.19.2.7 ===
--- Products/PluggableAuthService/PluggableAuthService.py:1.19.2.6	Mon Nov  8 02:13:38 2004
+++ Products/PluggableAuthService/PluggableAuthService.py	Mon Nov  8 04:17:37 2004
@@ -38,6 +38,7 @@
 from Persistence import PersistentMapping
 from OFS.Folder import Folder
 from OFS.Cache import Cacheable
+from Products.StandardCacheManagers.RAMCacheManager import RAMCacheManager
 from Products.PageTemplates.PageTemplateFile import PageTemplateFile
 from ZTUtils import Batch
 from App.class_init import default__class_init__ as InitializeClass
@@ -68,7 +69,6 @@
 from permissions import SearchPrincipals
 
 from PropertiedUser import PropertiedUser
-from PASCache import PASRAMCacheManager
 from utils import _wwwdir
 from utils import createViewName
 
@@ -1073,7 +1073,7 @@
     def all_meta_types(self):
         """ What objects can be put in here?
         """
-        allowed_types = tuple(MultiPlugins) + (PASRAMCacheManager.meta_type,)
+        allowed_types = tuple(MultiPlugins) + (RAMCacheManager.meta_type,)
 
         return [x for x in Products.meta_types if x['name'] in allowed_types]
 


=== Products/PluggableAuthService/__init__.py 1.4.2.1 => 1.4.2.2 ===
--- Products/PluggableAuthService/__init__.py:1.4.2.1	Tue Oct 19 07:44:39 2004
+++ Products/PluggableAuthService/__init__.py	Mon Nov  8 04:17:37 2004
@@ -27,8 +27,6 @@
 
 import PluggableAuthService
 
-import PASCache
-
 from permissions import ManageGroups
 
 from plugins import HTTPBasicAuthHelper as HBAH
@@ -68,15 +66,6 @@
                          , constructors=(
                             PluggableAuthService.addPluggableAuthService, )
                          , icon='www/PluggableAuthService.png'
-                         )
-
-    context.registerClass( PASCache.PASRAMCacheManager
-                         , permission=ManageUsers
-                         , constructors=(
-                            PASCache.manage_addPASRAMCacheManagerForm,
-                            PASCache.addPASRAMCacheManager, )
-                         , visibility=None
-                         , icon='www/PASCache.png'
                          )
 
     context.registerClass( HBAH.HTTPBasicAuthHelper

=== Removed File Products/PluggableAuthService/PASCache.py ===



More information about the Zope-CVS mailing list