Logo Search packages:      
Sourcecode: zope-pas version File versions  Download package

def PluggableAuthService-1.4::PluggableAuthService::PluggableAuthService::_createUser (   self,
  plugins,
  user_id,
  name 
) [private]

Allow IUserFactoryPlugins to create, or fall back to default.

Definition at line 679 of file PluggableAuthService.py.

00679                                                    :

        """ Allow IUserFactoryPlugins to create, or fall back to default.
        """
        factories = plugins.listPlugins( IUserFactoryPlugin )

        for factory_id, factory in factories:

            user = factory.createUser( user_id, name )

            if user is not None:
                return user.__of__( self )

        return PropertiedUser( user_id, name ).__of__( self )

    security.declarePrivate( '_findUser' )
    def _findUser( self, plugins, user_id, name=None, request=None ):


Generated by  Doxygen 1.6.0   Back to index