Ignore:
Timestamp:
09/03/09 10:03:50 (12 years ago)
Author:
pjkersha
Message:

ndg.security.test.integration.openid: working combined OpenID Provider and Relying Party in same WSGI stack

  • Removed call to paste.request.parse_formvars in ndg.security.server.wsgi.openid.relyingparty.OpenIDRelyingPartyMiddleware.__call__: for Paste 1.7.1 this seems to gobbled up environwsgi.input? such that a 2nd call to it yields nothing!
  • TODO: add login to OpenID Relying Party template so that for a given site, home users can skip OpenID URI entry and login directly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/wsgi/openid/provider/authninterface/sessionmanager.py

    r4855 r5080  
    117117        """Map the login username to an identifier which will become the 
    118118        unique path suffix to the user's OpenID identifier.  The  
    119         OpenIDProviderMiddleware takes self.urls['id_url'] and adds it to this 
    120         identifier: 
     119        OpenIDProviderMiddleware takes the ID URL template and adds it to this 
     120        identifier e.g. 
    121121         
    122122            identifier = self._authN.username2UserIdentifiers(username) 
    123             identityURL = self.urls['url_id'] + '/' + identifier 
     123            identityURL = http://mysite/openid/${userIdentifier} 
    124124         
    125125        @type environ: dict 
Note: See TracChangeset for help on using the changeset viewer.