[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/pluggableauth - configure.zcml:1.6 __init__.py:1.4

Albertas Agejevas alga@codeworks.lt
Thu, 10 Jul 2003 05:27:46 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/services/pluggableauth
In directory cvs.zope.org:/tmp/cvs-serv12405/src/zope/app/browser/services/pluggableauth

Modified Files:
	configure.zcml __init__.py 
Log Message:
Removed trailing whitespace, added ZPL headers, added some docstrings.


=== Zope3/src/zope/app/browser/services/pluggableauth/configure.zcml 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/services/pluggableauth/configure.zcml:1.5	Thu Jul  3 17:45:24 2003
+++ Zope3/src/zope/app/browser/services/pluggableauth/configure.zcml	Thu Jul 10 05:27:40 2003
@@ -14,15 +14,15 @@
      />
 
 <page
-     name="contents.html" 
+     name="contents.html"
      for="zope.app.services.pluggableauth.IPluggableAuthenticationService"
-     permission="zope.ManageServices" 
+     permission="zope.ManageServices"
      class="zope.app.browser.container.contents.Contents"
      attribute="contents"
      />
 
 <view
-     name="+"  
+     name="+"
      menu="zmi_actions" title="Add Source"
      for="zope.app.services.pluggableauth.IPluggableAuthenticationService"
      permission="zope.ManageContent"
@@ -47,16 +47,16 @@
     />
 
 <page
-     name="contents.html" 
+     name="contents.html"
      menu="zmi_views" title="Contents"
      for="zope.app.services.pluggableauth.IContainerPrincipalSource"
-     permission="zope.ManageServices" 
+     permission="zope.ManageServices"
      class="zope.app.browser.container.contents.Contents"
      attribute="contents"
      />
 
 <view
-    name="+"  
+    name="+"
     for="zope.app.services.pluggableauth.IContainerPrincipalSource"
     permission="zope.ManageContent"
     class="zope.app.browser.container.adding.Adding"/>
@@ -68,21 +68,21 @@
     />
 
 <addform
-    schema="zope.app.interfaces.services.pluggableauth.IUserSchemafied" 
-    label="Add Simple User with details" 
-    content_factory="zope.app.services.pluggableauth.SimplePrincipal" 
-    arguments="login password title description" 
+    schema="zope.app.interfaces.services.pluggableauth.IUserSchemafied"
+    label="Add Simple User with details"
+    content_factory="zope.app.services.pluggableauth.SimplePrincipal"
+    arguments="login password title description"
     fields="login password title description"
-    name="AddPrincipalForm" 
-    permission="zope.ManageContent" /> 
+    name="AddPrincipalForm"
+    permission="zope.ManageContent" />
 
-<editform 
-    schema="zope.app.interfaces.services.pluggableauth.IUserSchemafied" 
-    label="Edit User Information"     
+<editform
+    schema="zope.app.interfaces.services.pluggableauth.IUserSchemafied"
+    label="Edit User Information"
     fields="login password title description"
-    name="edit.html"        
-    menu="zmi_views" title="Edit" 
-    permission="zope.ManageContent" /> 
+    name="edit.html"
+    menu="zmi_views" title="Edit"
+    permission="zope.ManageContent" />
 
 <!-- Principals -->
 


=== Zope3/src/zope/app/browser/services/pluggableauth/__init__.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/services/pluggableauth/__init__.py:1.3	Thu Jul  3 17:45:24 2003
+++ Zope3/src/zope/app/browser/services/pluggableauth/__init__.py	Thu Jul 10 05:27:40 2003
@@ -1,9 +1,24 @@
-# For Views
+##############################################################################
+#
+# Copyright (c) 2003 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Pluggable Authentication Service views.
 
+$Id$
+"""
 from zope.app.browser.services.service import Adding
 from zope.context import ContextSuper
 from zope.app.interfaces.services.pluggableauth import IPrincipalSource
-        
+
 class PrincipalSourceAdding(Adding):
     """Adding subclass used for principal sources."""