[Zope-CVS] SVN: PluggableAuthService/trunk/ Wire up export / import adapters for PAS, registry, and plugins.

Tres Seaver tseaver at palladion.com
Wed Nov 16 15:10:09 EST 2005


Log message for revision 40170:
  Wire up export / import adapters for PAS, registry, and plugins.

Changed:
  A   PluggableAuthService/trunk/configure.zcml
  A   PluggableAuthService/trunk/exportimport.zcml

-=-
Added: PluggableAuthService/trunk/configure.zcml
===================================================================
--- PluggableAuthService/trunk/configure.zcml	2005-11-16 20:09:11 UTC (rev 40169)
+++ PluggableAuthService/trunk/configure.zcml	2005-11-16 20:10:08 UTC (rev 40170)
@@ -0,0 +1,7 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    >
+
+  <include file="exportimport.zcml" />
+
+</configure>

Added: PluggableAuthService/trunk/exportimport.zcml
===================================================================
--- PluggableAuthService/trunk/exportimport.zcml	2005-11-16 20:09:11 UTC (rev 40169)
+++ PluggableAuthService/trunk/exportimport.zcml	2005-11-16 20:10:08 UTC (rev 40170)
@@ -0,0 +1,114 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    >
+
+  <adapter
+      factory=".exportimport.PAS_PR_ContentFactory"
+      provides="Products.GenericSetup.interfaces.IContentFactory"
+      for=".interfaces.authservice.IPluggableAuthService"
+      name="Plugin Registry"
+      />
+
+  <adapter
+      factory="Products.GenericSetup.content.FolderishExporterImporter"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".interfaces.authservice.IPluggableAuthService"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.TitleOnlyExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.ChallengeProtocolChooser.IChallengeProtocolChooserPlugin"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.CookieAuthHelperExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.CookieAuthHelper.ICookieAuthHelper"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.DelegatePathExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.DelegatingMultiPlugin.IDelegatingMultiPlugin"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.DomainAuthHelperExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.DomainAuthHelper.IDomainAuthHelper"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.DynamicGroupsPluginExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.DynamicGroupsPlugin.IDynamicGroupsPlugin"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.TitleOnlyExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.HTTPBasicAuthHelper.IHTTPBasicAuthHelper"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.TitleOnlyExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.InlineAuthHelper.IInlineAuthHelper"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.TitleOnlyExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.LocalRolePlugin.ILocalRolePlugin"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.TitleOnlyExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.RecursiveGroupsPlugin.IRecursiveGroupsPlugin"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.TitleOnlyExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.RequestTypeSniffer.IRequestTypeSnifferPlugin"
+      />
+
+  <adapter
+      factory="Products.GenericSetup.content.FolderishExporterImporter"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.ScriptablePlugin.IScriptablePlugin"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.DelegatePathExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.SearchPrincipalsPlugin.ISearchPrincipalsPlugin"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.TitleOnlyExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.SessionAuthHelper.ISessionAuthHelper"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.ZODBUserManagerExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.ZODBUserManager.IZODBUserManager"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.ZODBGroupManagerExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.ZODBGroupManager.IZODBGroupManager"
+      />
+
+  <adapter
+      factory=".plugins.exportimport.ZODBRoleManagerExportImport"
+      provides="Products.GenericSetup.interfaces.IFilesystemExporter"
+      for=".plugins.ZODBRoleManager.IZODBRoleManager"
+      />
+
+</configure>



More information about the Zope-CVS mailing list