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

def PluggableAuthService-1.4::PluggableAuthService::PluggableAuthService::updateCredentials (   self,
  request,
  response,
  login,
  new_password 
)

Central updateCredentials method

This method is needed for cases where the credentials storage and
the credentials extraction is handled by different plugins. Example
case would be if the CookieAuthHelper is used as a Challenge and
Extraction plugin only to take advantage of the login page feature
but the credentials are not stored in the CookieAuthHelper cookie
but somewhere else, like in a Session.

Definition at line 1066 of file PluggableAuthService.py.

01066                                                                        :
        """Central updateCredentials method

        This method is needed for cases where the credentials storage and
        the credentials extraction is handled by different plugins. Example
        case would be if the CookieAuthHelper is used as a Challenge and
        Extraction plugin only to take advantage of the login page feature
        but the credentials are not stored in the CookieAuthHelper cookie
        but somewhere else, like in a Session.
        """
        plugins = self._getOb('plugins')
        cred_updaters = plugins.listPlugins(ICredentialsUpdatePlugin)

        for updater_id, updater in cred_updaters:
            updater.updateCredentials(request, response, login, new_password)

    security.declarePublic('logout')
    def logout(self, REQUEST):


Generated by  Doxygen 1.6.0   Back to index