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

def LDAPMultiPlugins::LDAPPluginBase::LDAPPluginBase::updateCredentials (   self,
  request,
  response,
  login,
  new_password 
)

Fulfill CredentialsUpdatePlugin requirements 

Definition at line 82 of file LDAPPluginBase.py.

00082                                                                        :
        """ Fulfill CredentialsUpdatePlugin requirements """
        acl = self._getLDAPUserFolder()

        if acl is not None:
            user = acl.getUser(login)
            
            if user is not None:
                user_dn = user.getUserDN()
                acl.manage_editUserPassword(user_dn, new_password)


    security.declarePrivate('resetCredentials')
    def resetCredentials(self, request, response):


Generated by  Doxygen 1.6.0   Back to index