[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services/pluggableauth - __init__.py:1.5

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


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

Modified Files:
	__init__.py 
Log Message:
Made IUserSchemafied inherit from IPrincipal.


=== Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py:1.4	Thu Jul  3 17:45:27 2003
+++ Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py	Thu Jul 10 05:37:59 2003
@@ -1,12 +1,29 @@
+##############################################################################
+#
+# 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.
+
+$Id$
+"""
 from zope.interface import Interface
 from zope.app.interfaces.container import IContainer 
-from zope.app.interfaces.security import IAuthenticationService
+from zope.app.interfaces.security import IAuthenticationService, IPrincipal
 from zope.schema import TextLine, Password
 from zope.i18n import MessageIDFactory
 
 _ = MessageIDFactory("zope.app.services.pluggableauth")
 
-class IUserSchemafied(Interface):
+class IUserSchemafied(IPrincipal):
     """A User object with schema-defined attributes."""
 
     id = TextLine(title=_(u"Id"))