- Timestamp:
- 18 Nov 2014, 11:37:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/authentication.py
r11958 r11985 1 1 ## $Id: authentication.py 10055 2013-04-04 15:12:43Z uli $ 2 ## 2 ## 3 3 ## Copyright (C) 2014 Uli Fouquet & Henrik Bettermann 4 4 ## This program is free software; you can redistribute it and/or modify … … 6 6 ## the Free Software Foundation; either version 2 of the License, or 7 7 ## (at your option) any later version. 8 ## 8 ## 9 9 ## This program is distributed in the hope that it will be useful, 10 10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of 11 11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 12 ## GNU General Public License for more details. 13 ## 13 ## 14 14 ## You should have received a copy of the GNU General Public License 15 15 ## along with this program; if not, write to the Free Software … … 35 35 from waeup.ikoba.customers.interfaces import ICustomer 36 36 37 37 38 class CustomerAccount(grok.Adapter): 38 39 """An adapter to turn customer objects into accounts on-the-fly. … … 126 127 return passwordmanager.checkPassword(self.context.password, password) 127 128 129 128 130 class CustomersAuthenticatorPlugin(grok.GlobalUtility): 129 131 grok.implements(IAuthenticatorPlugin) … … 188 190 return IUserAccount(customer) 189 191 192 190 193 class PasswordChangeCredentialsPlugin(grok.GlobalUtility, 191 194 SessionCredentialsPlugin): … … 279 282 # Return old credentials for this one request only 280 283 return old_credentials 284 281 285 282 286 class CustomersAuthenticatorSetup(grok.GlobalUtility):
Note: See TracChangeset for help on using the changeset viewer.