Changeset 5904 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 30 Mar 2011, 22:41:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/authentication.py
r5903 r5904 236 236 class ApplicantsAuthUtility(grok.GlobalUtility): 237 237 """A global utility that sets up any PAU passed. 238 239 The methods of this utility are called during setup of a new site 240 (`University`) instance and after the regular authentication 241 systems (regular users, officers, etc.) were set up. 238 242 """ 239 243 grok.provides(IAuthPluginUtility) … … 243 247 """Register our local applicants specific PAU components. 244 248 245 Applicants provide rtheir own authentication system resulting249 Applicants provide their own authentication system resulting 246 250 in a specialized credentials plugin and a specialized 247 251 authenticator plugin. … … 250 254 be consulted when trying to authenticate a user. 251 255 252 We stack our local plugins on top of the list, so that other 253 authentication mechanisms (the normal user authentication for 254 instance) have precedence and to avoid "account-shadowing". 256 We stack our local plugins at end of the plugin list, so that 257 other authentication mechanisms (the normal user 258 authentication for instance) have precedence and to avoid 259 "account-shadowing". 255 260 """ 256 261 # The local credentials plugin is registered under the name … … 264 269 def unregister(self, pau): 265 270 return pau 266 267 271 272 268 273 def principal_id(access_code): 269 274 """Get a principal ID for applicants.
Note: See TracChangeset for help on using the changeset viewer.