[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/pas/pas.py Remove
trailing whitespace.
Florent Guillaume
fg at nuxeo.com
Mon Oct 11 07:02:58 EDT 2004
Log message for revision 27959:
Remove trailing whitespace.
Changed:
U Zope3/trunk/src/zope/app/pas/pas.py
-=-
Modified: Zope3/trunk/src/zope/app/pas/pas.py
===================================================================
--- Zope3/trunk/src/zope/app/pas/pas.py 2004-10-11 10:49:31 UTC (rev 27958)
+++ Zope3/trunk/src/zope/app/pas/pas.py 2004-10-11 11:02:57 UTC (rev 27959)
@@ -41,37 +41,37 @@
class IPAS(zope.interface.Interface):
"""Pluggable Authentication Service
"""
-
+
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 PAS:
zope.interface.implements(IPAS, IAuthenticationService)
@@ -96,7 +96,7 @@
credentials)
if authenticated is None:
continue
-
+
id, info = authenticated
return self._create('createAuthenticatedPrincipal',
self.prefix+id, info, request)
@@ -125,7 +125,7 @@
searcher = zapi.queryUtility(IPrincipalSearchPlugin, searcher)
if searcher is None:
continue
-
+
info = searcher.get(id)
if info is None:
continue
@@ -139,7 +139,7 @@
def unauthorized(self, id, request):
protocol = None
-
+
for challenger in self.challengers:
challenger = zapi.queryUtility(IChallengePlugin, challenger)
if challenger is None:
@@ -160,7 +160,7 @@
next = queryNextService(self, Authentication, None)
if next is not None:
return getattr(next, meth)(*args)
-
+
class LocalPAS(PAS, Persistent, Contained):
zope.interface.implements(IPAS, ILocation, ISimpleService)
More information about the Zope3-Checkins
mailing list