Ignore:
Timestamp:
26 Aug 2010, 10:55:39 (14 years ago)
Author:
uli
Message:

Make applicant credentials work also if other credentials plugins
stored a different structured credentials set in session.

File:
1 edited

Legend:

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

    r5464 r5497  
    197197        if not credentials:
    198198            return None
     199        if not IApplicantSessionCredentials.providedBy(credentials):
     200            # If credentials were stored in session from another
     201            # credentials plugin then we cannot make assumptions about
     202            # its structure.
     203            return None
    199204        if not IJAMBApplicantSessionCredentials.providedBy(credentials):
    200205            # Entered credentials are ordinary applicant credentials,
Note: See TracChangeset for help on using the changeset viewer.