[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/authentication/ Move
the IPluggableAuthentication interface to interfaces.py
Gary Poster
gary at zope.com
Fri Jan 28 13:44:41 EST 2005
Log message for revision 28970:
Move the IPluggableAuthentication interface to interfaces.py
Changed:
U Zope3/trunk/src/zope/app/authentication/authentication.py
U Zope3/trunk/src/zope/app/authentication/interfaces.py
-=-
Modified: Zope3/trunk/src/zope/app/authentication/authentication.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/authentication.py 2005-01-28 00:57:08 UTC (rev 28969)
+++ Zope3/trunk/src/zope/app/authentication/authentication.py 2005-01-28 18:44:41 UTC (rev 28970)
@@ -31,48 +31,13 @@
from zope.app.utility.interfaces import ILocalUtility
from zope.app.location.interfaces import ILocation
-from zope.app.authentication import interfaces
from zope.app.authentication.interfaces import IExtractionPlugin
from zope.app.authentication.interfaces import IAuthenticationPlugin
from zope.app.authentication.interfaces import IChallengePlugin
from zope.app.authentication.interfaces import IPrincipalFactoryPlugin
from zope.app.authentication.interfaces import IPrincipalSearchPlugin
+from zope.app.authentication.interfaces import IPluggableAuthentication
-
-class IPluggableAuthentication(zope.interface.Interface):
- """Pluggable Authentication Utility
- """
-
- extractors = zope.schema.List(
- title=u"Credential Extractors",
- value_type = zope.schema.Choice(vocabulary='ExtractionPlugins'),
- default=[],
- )
-
- authenticators = zope.schema.List(
- title=u"Authenticators",
- value_type = zope.schema.Choice(vocabulary='AuthenticationPlugins'),
- default=[],
- )
-
- challengers = zope.schema.List(
- title=u"Challengers",
- value_type = zope.schema.Choice(vocabulary='ChallengePlugins'),
- default=[],
- )
-
- factories = zope.schema.List(
- title=u"Principal Factories",
- value_type = zope.schema.Choice(vocabulary='PrincipalFactoryPlugins'),
- default=[],
- )
-
- searchers = zope.schema.List(
- title=u"Search Plugins",
- value_type = zope.schema.Choice(vocabulary='PrincipalSearchPlugins'),
- default=[],
- )
-
class PluggableAuthentication(object):
zope.interface.implements(
Modified: Zope3/trunk/src/zope/app/authentication/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/interfaces.py 2005-01-28 00:57:08 UTC (rev 28969)
+++ Zope3/trunk/src/zope/app/authentication/interfaces.py 2005-01-28 18:44:41 UTC (rev 28970)
@@ -20,6 +20,40 @@
import zope.interface
import zope.schema
+class IPluggableAuthentication(zope.interface.Interface):
+ """Pluggable Authentication Utility
+ """
+
+ extractors = zope.schema.List(
+ title=u"Credential Extractors",
+ value_type = zope.schema.Choice(vocabulary='ExtractionPlugins'),
+ default=[],
+ )
+
+ authenticators = zope.schema.List(
+ title=u"Authenticators",
+ value_type = zope.schema.Choice(vocabulary='AuthenticationPlugins'),
+ default=[],
+ )
+
+ challengers = zope.schema.List(
+ title=u"Challengers",
+ value_type = zope.schema.Choice(vocabulary='ChallengePlugins'),
+ default=[],
+ )
+
+ factories = zope.schema.List(
+ title=u"Principal Factories",
+ value_type = zope.schema.Choice(vocabulary='PrincipalFactoryPlugins'),
+ default=[],
+ )
+
+ searchers = zope.schema.List(
+ title=u"Search Plugins",
+ value_type = zope.schema.Choice(vocabulary='PrincipalSearchPlugins'),
+ default=[],
+ )
+
class IPrincipalCreated(zope.interface.Interface):
"""A PluggableAuthentication principal object has been created
More information about the Zope3-Checkins
mailing list