- Timestamp:
- 31 Mar 2011, 23:00:28 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants/jambtables
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/jambtables/interfaces.py
r5774 r5907 24 24 from zope import schema 25 25 from waeup.sirp.interfaces import IWAeUPObject 26 from waeup.sirp.applicants.interfaces import IApplicantBaseData 26 from waeup.sirp.applicants.interfaces import ( 27 IApplicantBaseData, IApplicantsFormChallenger, 28 IApplicantSessionCredentials, 29 ) 27 30 28 31 … … 86 89 required = True, 87 90 ) 91 92 class IJAMBApplicantsFormChallenger(IApplicantsFormChallenger): 93 """A challenger that uses a browser form to collect applicant 94 credentials for applicants in JAMB process. 95 96 JAMB-screened applicants have to provide an extra registration 97 no. provided by JAMB. 98 """ 99 jamb_reg_no_field = schema.TextLine( 100 title = u'JAMB registration no.', 101 description = u'''Field of the login page which is looked up for 102 the JAMB registration number.''', 103 default = u'jamb_reg_no', 104 ) 105 106 class IJAMBApplicantSessionCredentials(IApplicantSessionCredentials): 107 """Interface for storing and accessing JAMB applicant credentials in a 108 session. 109 """ 110 111 def __init__(access_code, jamb_reg_no): 112 """Create credentials for JAMB screened applicants.""" 113 114 def getJAMBRegNo(): 115 """Return the JAMB registration no."""
Note: See TracChangeset for help on using the changeset viewer.