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

def PluggableAuthService-1.4::PluggableAuthService::PluggableAuthService::_createAnonymousUser (   self,
  plugins 
) [private]

Allow IAnonymousUserFactoryPlugins to create or fall back.

Definition at line 663 of file PluggableAuthService.py.

00663                                              :

        """ Allow IAnonymousUserFactoryPlugins to create or fall back.
        """
        factories = plugins.listPlugins( IAnonymousUserFactoryPlugin )

        for factory_id, factory in factories:

            anon = factory.createAnonymousUser()

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

        return nobody.__of__( self )

    security.declarePrivate( '_createUser' )
    def _createUser( self, plugins, user_id, name ):


Generated by  Doxygen 1.6.0   Back to index