Back to index

plone3  3.1.7
Public Member Functions Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def checkExtractorForInterface
def hasLoginPasswordExtractor
def hasOpenIDdExtractor

Detailed Description

Definition at line 12 of file

Member Function Documentation

Definition at line 15 of file

00016     def checkExtractorForInterface(self, interface):
00017         acl = getToolByName(aq_inner(self.context), "acl_users")
00018         plugins=acl.plugins.listPlugins(IExtractionPlugin)
00020         for plugin in plugins:
00021             if interface.providedBy(plugin[1]):
00022                 return True
00024         return False

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 26 of file

00027     def hasLoginPasswordExtractor(self):
00028         return self.checkExtractorForInterface(ILoginPasswordExtractionPlugin)

Here is the call graph for this function:

Definition at line 31 of file

00032     def hasOpenIDdExtractor(self):
00033         try:
00034             from plone.openid.interfaces import IOpenIdExtractionPlugin
00035         except ImportError:
00036             return False
00038         return self.checkExtractorForInterface(IOpenIdExtractionPlugin)

Here is the call graph for this function:

The documentation for this class was generated from the following file: