[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/pas/ changed security settings for using the plugins from

robert rottermann robert at redcor.ch
Mon Oct 11 09:10:35 EDT 2004


Log message for revision 27972:
  changed security settings for using the plugins from
  zope.ManageContent  to zope.ManageServices
  
  


Changed:
  U   Zope3/trunk/src/zope/app/pas/authenticationplugins.zcml
  U   Zope3/trunk/src/zope/app/pas/challengeplugins.zcml
  U   Zope3/trunk/src/zope/app/pas/configure.zcml
  U   Zope3/trunk/src/zope/app/pas/extractionplugins.zcml
  U   Zope3/trunk/src/zope/app/pas/principalplugins.zcml


-=-
Modified: Zope3/trunk/src/zope/app/pas/authenticationplugins.zcml
===================================================================
--- Zope3/trunk/src/zope/app/pas/authenticationplugins.zcml	2004-10-11 13:02:36 UTC (rev 27971)
+++ Zope3/trunk/src/zope/app/pas/authenticationplugins.zcml	2004-10-11 13:10:34 UTC (rev 27972)
@@ -4,34 +4,29 @@
     i18n_domain="zope"
     >
 
+  <browser:tool
+      interface=".interfaces.IAuthenticationPlugin"
+      title="PAS Authentication Plugin"
+      description="PAS Authentication Plugin"
+      />
+
+  
   <localUtility class=".zodb.PersistentPrincipalStorage">
 
     <implements
         interface="zope.app.annotation.interfaces.IAttributeAnnotatable" />
 
     <require
-        permission="zope.ManageContent"
+        permission="zope.ManageServices"
         interface="zope.app.container.interfaces.IContainer" />
 
-    <require
-        permission="zope.ManageContent"
-        interface=".interfaces.IAuthenticationPlugin" />
-
   </localUtility>
 
-
   <browser:addMenuItem
       title="PAS Authentication Plugin"
       description="A PAS Authentication Plugin"
       class="zope.app.pas.zodb.PersistentPrincipalStorage"
-      permission="zope.ManageContent"
+      permission="zope.ManageServices"
       />
 
-  <browser:tool
-      interface=".interfaces.IAuthenticationPlugin"
-      title="PAS Authentication Plugin"
-      description="PAS Authentication Plugin"
-      />
-
-
 </configure>

Modified: Zope3/trunk/src/zope/app/pas/challengeplugins.zcml
===================================================================
--- Zope3/trunk/src/zope/app/pas/challengeplugins.zcml	2004-10-11 13:02:36 UTC (rev 27971)
+++ Zope3/trunk/src/zope/app/pas/challengeplugins.zcml	2004-10-11 13:10:34 UTC (rev 27972)
@@ -8,10 +8,6 @@
     <implements
         interface="zope.app.annotation.interfaces.IAttributeAnnotatable" />
 
-    <require
-        permission="zope.ManageContent"
-        interface=".interfaces.IChallengePlugin" />
-
   </localUtility>
   
   <browser:tool
@@ -21,10 +17,17 @@
       />
   
   <browser:addMenuItem
-      title="PAS Challenge Plugin"
+      title="PAS HTTP Basic Auth Challenge Plugin"
       description="A PAS Challenge Plugin"
       class="zope.app.pas.httpplugins.HTTPBasicAuthChallenger"
-      permission="zope.ManageContent"
+      permission="zope.ManageServices"
       />
 
+  <browser:addMenuItem
+      title="PAS Browser Session Challenge Plugin"
+      description="A PAS Challenge Plugin"
+      class="zope.app.pas.browserplugins.FormChallenger"
+      permission="zope.ManageServices"
+      />
+
 </configure>

Modified: Zope3/trunk/src/zope/app/pas/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/pas/configure.zcml	2004-10-11 13:02:36 UTC (rev 27971)
+++ Zope3/trunk/src/zope/app/pas/configure.zcml	2004-10-11 13:10:34 UTC (rev 27972)
@@ -16,6 +16,8 @@
         />
   </localService>
 
+  <interface interface=".interfaces.IPrincipalSearchPlugin" />
+  
   <browser:addMenuItem
        class=".pas.LocalPAS"
        title="Pluggable Authentication Service"

Modified: Zope3/trunk/src/zope/app/pas/extractionplugins.zcml
===================================================================
--- Zope3/trunk/src/zope/app/pas/extractionplugins.zcml	2004-10-11 13:02:36 UTC (rev 27971)
+++ Zope3/trunk/src/zope/app/pas/extractionplugins.zcml	2004-10-11 13:10:34 UTC (rev 27972)
@@ -3,28 +3,38 @@
     xmlns:browser="http://namespaces.zope.org/browser"
     i18n_domain="zope">
 
+  <browser:tool
+      interface=".interfaces.IExtractionPlugin"
+      title="PAS Extraction Plugin"
+      description="PAS Extraction Plugin"
+      />
+
   <localUtility class=".httpplugins.HTTPBasicAuthExtractor">
 
     <implements
         interface="zope.app.annotation.interfaces.IAttributeAnnotatable" />
 
-    <require
-        permission="zope.ManageContent"
-        interface=".interfaces.IExtractionPlugin" />
-
   </localUtility>
 
-  <browser:tool
-      interface=".interfaces.IExtractionPlugin"
-      title="PAS Extraction Plugin"
-      description="PAS Extraction Plugin"
-      />
-
   <browser:addMenuItem
-      title="PAS Extraction Plugin"
+      title="PAS HTTP Basic Auth Extractor"
       description="A PAS Extraction Plugin"
       class="zope.app.pas.httpplugins.HTTPBasicAuthExtractor"
       permission="zope.ManageContent"
       />
 
+  <localUtility class=".browserplugins.SessionExtractor">
+
+    <implements
+        interface="zope.app.annotation.interfaces.IAttributeAnnotatable" />
+
+  </localUtility>
+
+  <browser:addMenuItem
+      title="PAS Browser Session Extractor"
+      description="A PAS Extraction Plugin"
+      class="zope.app.pas.browserplugins.SessionExtractor"
+      permission="zope.ManageServices"
+      />
+
 </configure>

Modified: Zope3/trunk/src/zope/app/pas/principalplugins.zcml
===================================================================
--- Zope3/trunk/src/zope/app/pas/principalplugins.zcml	2004-10-11 13:02:36 UTC (rev 27971)
+++ Zope3/trunk/src/zope/app/pas/principalplugins.zcml	2004-10-11 13:10:34 UTC (rev 27972)
@@ -4,15 +4,18 @@
     i18n_domain="zope"
     >
 
+  <browser:tool
+      interface=".interfaces.IPrincipalFactoryPlugin"
+      title="PAS Principal Factory Plugin"
+      description="PAS Principal Factory Plugin"
+      />
+
+  
   <localUtility class=".principalplugins.PrincipalFactory">
 
     <implements
         interface="zope.app.annotation.interfaces.IAttributeAnnotatable" />
 
-    <require
-        permission="zope.ManageContent"
-        interface=".interfaces.IPrincipalFactoryPlugin" />
-
   </localUtility>
 
 
@@ -20,14 +23,7 @@
       title="PAS Principal Factory Plugin"
       description="A PAS Principal Factory Plugin"
       class=".principalplugins.PrincipalFactory"
-      permission="zope.ManageContent"
+      permission="zope.ManageServices"
       />
 
-  <browser:tool
-      interface=".interfaces.IPrincipalFactoryPlugin"
-      title="PAS Principal Factory Plugin"
-      description="PAS Principal Factory Plugin"
-      />
-
-
 </configure>



More information about the Zope3-Checkins mailing list