source: TI12-security/trunk/NDGSecurity/python/Tests/openidaxtest/openidaxtest/lib/app_globals.py @ 6440

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/Tests/openidaxtest/openidaxtest/lib/app_globals.py@6440
Revision 6440, 371 bytes checked in by pjkersha, 11 years ago (diff)
  • #1088 Important fix to AuthnRedirectResponseMiddleware? to set redirect ONLY when SSL client authentication has just succeeded in the upstream middleware AuthKitSSLAuthnMiddleware. This bug was causing the browser to redirect to the wrong place following OpenID sign in in the case where the user is already logged into their provider and selects a new relying party to sign into.
    • Improvements to Provider decide page interface: leave out messages about attributes that the provider can't retrieve for the RP. Also included NDG style help icon.
Line 
1"""The application's Globals object"""
2
3class Globals(object):
4
5    """Globals acts as a container for objects available throughout the
6    life of the application
7
8    """
9
10    def __init__(self):
11        """One instance of Globals is created during application
12        initialization and is available during requests via the
13        'app_globals' variable
14
15        """
Note: See TracBrowser for help on using the repository browser.