Ignore:
Timestamp:
03/12/08 13:55:25 (12 years ago)
Author:
pjkersha
Message:

Integrated OpenID provider into WSGI stack together with Session Manager and Attribute Authority WSGI filters for Combined Services tests.

  • refactored ndg.security.server.wsgi.openid_provider.RenderingInterface? separating out e.g. code into separate DemoRenderingInterface? code
  • Updated ndg.security.server.pylons.cpntainer.lib.openid_provider_util Buffet rendering class so that it is independent of Pylons project structure. More work to be done to set Kid rendering input vars.

TODO: Add Authentication interface to OpenID Provider to enable integration with Session Manager based authentication.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/services.ini

    r4525 r4526  
    157157           wsseSignatureFilter  
    158158           httpBasicAuthFilter  
     159           SessionMiddlewareFilter 
    159160           OpenIDProviderFilter 
    160            SessionMiddlewareFilter 
    161161           mainApp 
    162162 
     
    257257wsseSignatureVerificationFilterID = ndg.security.server.wsgi.wsseSignatureVerificationFilter01 
    258258 
    259 # Last filter in chain SOAP handlers writes the response 
     259# Last filter in chain of SOAP handlers writes the response 
    260260writeResponse = True 
    261261 
     
    278278[filter:OpenIDProviderFilter] 
    279279paste.filter_app_factory=ndg.security.server.wsgi.openid_provider:OpenIDProviderMiddleware 
    280 openid_provider.path.openidserver=/openid/openidserver 
    281 openid_provider.path.login=/openid/login 
    282 openid_provider.path.loginsubmit=/openid/loginsubmit 
    283 openid_provider.path.id=/openid/id 
    284 openid_provider.path.yadis=/openid/yadis 
    285 openid_provider.path.serveryadis=/openid/serveryadis 
    286 openid_provider.path.allow=/openid/allow 
    287 openid_provider.path.decide=/openid/decide 
    288 openid_provider.path.mainpage=/openid 
    289 openid_provider.session_middleware=beaker.session  
    290 openid_provider.base_url=http://localhost:8000 
    291 #openid_provider.consumer_store_dirpath=./ 
    292 openid_provider.trace=False 
    293 openid_provider.renderingClass=ndg.security.server.pylons.container.lib.openid_provider_util.OpenIDProviderKidRendering 
    294 openid_provider.sregResponseHandler=ndg.security.server.pylons.container.lib.openid_provider_util:esgSRegResponseHandler 
    295 openid_provider.axResponseHandler=ndg.security.server.pylons.container.lib.openid_provider_util:esgAXResponseHandler 
     280openid.provider.path.openidserver=/openid/openidserver 
     281openid.provider.path.login=/openid/login 
     282openid.provider.path.loginsubmit=/openid/loginsubmit 
     283openid.provider.path.id=/openid/id 
     284openid.provider.path.yadis=/openid/yadis 
     285openid.provider.path.serveryadis=/openid/serveryadis 
     286openid.provider.path.allow=/openid/allow 
     287openid.provider.path.decide=/openid/decide 
     288openid.provider.path.mainpage=/openid 
     289openid.provider.session_middleware=beaker.session  
     290openid.provider.base_url=http://localhost:8000 
     291#openid.provider.consumer_store_dirpath=./ 
     292openid.provider.trace=False 
     293#openid.provider.renderingClass=ndg.security.server.pylons.container.lib.openid_provider_util.OpenIDProviderKidRendering 
     294openid.provider.renderingClass=ndg.security.server.wsgi.openid_provider.DemoRenderingInterface 
     295openid.provider.sregResponseHandler=ndg.security.server.pylons.container.lib.openid_provider_util:esgSRegResponseHandler 
     296openid.provider.axResponseHandler=ndg.security.server.pylons.container.lib.openid_provider_util:esgAXResponseHandler 
    296297 
    297298# Basic authentication for testing/admin - comma delimited list of  
    298299# <username>:<password> pairs 
    299 openid_provider.usercreds=pjk:test, luca:esgndgtest 
     300openid.provider.usercreds=pjk:test 
    300301 
    301302#______________________________________________________________________________ 
Note: See TracChangeset for help on using the changeset viewer.