Changeset 5902 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 30 Mar 2011, 16:37:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/authentication.py
r5818 r5902 39 39 IJAMBApplicantSessionCredentials) 40 40 from waeup.sirp.applicants import get_applicant_data 41 from waeup.sirp.interfaces import IAuthPluginUtility 41 42 42 43 … … 233 234 return None 234 235 236 class ApplicantsAuthUtility(grok.GlobalUtility): 237 """A global utility that sets up any PAU passed. 238 """ 239 grok.provides(IAuthPluginUtility) 240 grok.name('applicants_auth_setup') 241 242 def register(self, pau): 243 print "\n\n\nSETUP this PAU: %s\n\n\n" % pau 244 return 245 246 def unregister(self, pau): 247 print "\n\n\nUNREGISTER the PAU: %s\n\n\n" % pau 248 249 235 250 def principal_id(access_code): 236 251 """Get a principal ID for applicants.
Note: See TracChangeset for help on using the changeset viewer.