equal
deleted
inserted
replaced
227 do nothing by default |
227 do nothing by default |
228 """ |
228 """ |
229 pass |
229 pass |
230 |
230 |
231 def authenticate(self, session, login, password): |
231 def authenticate(self, session, login, password): |
232 """if the source support EUser entity type, it should implements |
232 """if the source support CWUser entity type, it should implements |
233 this method which should return EUser eid for the given login/password |
233 this method which should return CWUser eid for the given login/password |
234 if this account is defined in this source and valid login / password is |
234 if this account is defined in this source and valid login / password is |
235 given. Else raise `AuthenticationError` |
235 given. Else raise `AuthenticationError` |
236 """ |
236 """ |
237 raise NotImplementedError() |
237 raise NotImplementedError() |
238 |
238 |