Ignore:
Timestamp:
24/04/09 10:25:49 (11 years ago)
Author:
pjkersha
Message:

Updates following initial release on ndg3beta - release is now 1.0.1rc1:

  • Added additional test authN interface class for OpenID Provider BasicSessionManagerOpenIDAuthNInterface. This links to a session manager for authN but uses a simple look-up in the ini file to resolve usernames to OpenID identifiers. This is useful for testing. The production version SessionManagerOpenIDAuthNInterface uses a table in a database to do the same function.
  • improved ndg.security.server.wsgi.authn.AuthenticationRedirectMiddleware? log messaging for checker intercept method.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/wsgi/authn.py

    r5181 r5223  
    146146        HTTP 401 Unauthorized response detected in the middleware chain 
    147147        """ 
    148         log.debug("AuthNMiddleware.checker received status %r, " 
    149                   "headers %r", status, headers) 
     148        log.debug("%s.checker received status %r, " 
     149                  "headers %r", cls.__name__, status, headers) 
    150150         
    151151        if status.startswith(cls.triggerStatus): 
    152             log.debug("%s.checker returning True" % cls.__name__) 
     152            log.debug("%s.checker caught status %s: invoking authentication " 
     153                      "handler", cls.__name__, cls.triggerStatus) 
    153154            return True 
    154155        else: 
    155             log.debug("%s.checker returning False" % cls.__name__) 
     156            log.debug("%s.checker skipping status %s", cls.__name__, status) 
    156157            return False 
    157158 
Note: See TracChangeset for help on using the changeset viewer.