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

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Mar 10 12:56:37 EST 2004


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

Added Files:
	__init__.py configure.zcml 
Log Message:


Moved pluggable authentication service to zope.app.pluggableauth. Added module
aliases (tested) so that old services survive the change.


=== Added File Zope3/src/zope/app/pluggableauth/browser/__init__.py ===
#


=== Added File Zope3/src/zope/app/pluggableauth/browser/configure.zcml ===
<zope:configure 
   xmlns="http://namespaces.zope.org/browser"
   xmlns:zope="http://namespaces.zope.org/zope">

<!-- Pluggable Authentication Service -->

  <addMenuItem
       class="zope.app.pluggableauth.PluggableAuthenticationService"
       title="Authentication Service"
       description="A Pluggable Authentication uses plug-in principal sources."
       permission="zope.ManageServices"
       />

  <containerViews
       for="zope.app.pluggableauth.interfaces.IPluggableAuthenticationService"
       contents="zope.ManageServices"
       add="zope.ManageServices"
       />

<!-- Principal Source -->

  <addMenuItem
      title="Add Principal Source" 
      class="zope.app.pluggableauth.BTreePrincipalSource"	
      permission="zope.ManageServices"
      />

  <containerViews
       for="zope.app.pluggableauth.interfaces.IContainerPrincipalSource"
       contents="zope.ManageServices"
       add="zope.ManageServices"
       />

<!-- Principal -->

  <addform
      schema="zope.app.pluggableauth.interfaces.IUserSchemafied"
      label="Add Simple User with details"
      content_factory="zope.app.pluggableauth.SimplePrincipal"
      arguments="login password"
      keyword_arguments="title description"
      fields="login password title description"
      name="AddPrincipalForm.html"
      permission="zope.ManageContent"
      />

  <addMenuItem
      title="Principal" 
      class="zope.app.pluggableauth.SimplePrincipal"
      permission="zope.ManageServices"
      view="AddPrincipalForm.html"
      />

  <editform
      schema="zope.app.pluggableauth.interfaces.IUserSchemafied"
      label="Edit User Information"
      fields="login password title description"
      name="edit.html"
      menu="zmi_views" title="Edit"
      permission="zope.ManageContent" />

</zope:configure>




More information about the Zope3-Checkins mailing list