예제 #1
0
파일: User.py 프로젝트: bendavis78/zope
 def authenticate(self, password, request):
     passwrd=self._getPassword()
     result = AuthEncoding.pw_validate(passwrd, password)
     domains=self.getDomains()
     if domains:
         return result and domainSpecMatch(domains, request)
     return result
예제 #2
0
 def authenticate(self, password, request):
     passwrd=self._getPassword()
     result = AuthEncoding.pw_validate(passwrd, password)
     domains=self.getDomains()
     if domains:
         return result and domainSpecMatch(domains, request)
     return result
예제 #3
0
 def check_password(self, attempt):
     return AuthEncoding.pw_validate(self.password, attempt)