Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Private Attributes
PluggableAuthService.plugins.tests.helpers.FauxSmartPAS Class Reference
Inheritance diagram for PluggableAuthService.plugins.tests.helpers.FauxSmartPAS:
Inheritance graph
[legend]
Collaboration diagram for PluggableAuthService.plugins.tests.helpers.FauxSmartPAS:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def searchPrincipals

Public Attributes

 user_ids

Private Attributes

 _id

Detailed Description

Definition at line 27 of file helpers.py.


Constructor & Destructor Documentation

Definition at line 29 of file helpers.py.

00029 
00030     def __init__( self ):
00031         self._id = 'acl_users'
00032         self.user_ids = {}


Member Function Documentation

Definition at line 33 of file helpers.py.

00033 
00034     def searchPrincipals( self, **kw ):
00035         id = kw.get( 'id' )
00036         prin = self.user_ids.get(id, None)
00037         return (prin and [ { 'id': id } ]) or []


Member Data Documentation

Definition at line 30 of file helpers.py.

Definition at line 31 of file helpers.py.


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