[Zope-PAS] how??

javi lopez javi80mix at gmail.com
Tue Jan 30 11:13:44 EST 2007


i am doing a plugin for pas, i did this method but it don´t work:

security.declarePrivate('authenticateCredentials')
    def authenticateCredentials(self, credentials):
        """ Authentication Part

        login = credentials.get( 'login' )
        password = credentials.get( 'password' )

        if login is None or password is None:
            return None
        return login, login

what wrong???


More information about the Zope-PAS mailing list