Ignore:
Timestamp:
30 Mar 2011, 22:41:02 (14 years ago)
Author:
uli
Message:

More docs.

File:
1 edited

Legend:

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

    r5903 r5904  
    236236class ApplicantsAuthUtility(grok.GlobalUtility):
    237237    """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.
    238242    """
    239243    grok.provides(IAuthPluginUtility)
     
    243247        """Register our local applicants specific PAU components.
    244248
    245         Applicants provider their own authentication system resulting
     249        Applicants provide their own authentication system resulting
    246250        in a specialized credentials plugin and a specialized
    247251        authenticator plugin.
     
    250254        be consulted when trying to authenticate a user.
    251255
    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".
    255260        """
    256261        # The local credentials plugin is registered under the name
     
    264269    def unregister(self, pau):
    265270        return pau
    266    
    267    
     271
     272
    268273def principal_id(access_code):
    269274    """Get a principal ID for applicants.
Note: See TracChangeset for help on using the changeset viewer.