Ignore:
Timestamp:
15 Aug 2010, 12:21:57 (14 years ago)
Author:
uli
Message:

Add a general function to compute a unique principal id.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/jambtables/authentication.py

    r5431 r5435  
    191191        """
    192192        return None
     193
     194def principal_id(access_code, jamb_reg_no=None):
     195    """Get a principal ID for applicants.
     196
     197    We need unique principal ids for appliants. As access codes must
     198    be unique we simply return them.
     199    """
     200    return access_code
     201
Note: See TracChangeset for help on using the changeset viewer.