Ignore:
Timestamp:
22/05/08 15:08:26 (12 years ago)
Author:
pjkersha
Message:

Initial Integration of Single Sign On Service with OpenID and Pylons AuthKit?:

  • WAYF now contains an OpenID textbox for sign in
  • No role integration carried out yet - OpenID has no better privileges than an anonymous user(!)
  • Integrated into Authkit - requires lots of config settings in pylons ini file
  • HTTP 401 error get redirected automatically to WAYF
  • Need to create an AuthKit? egg from SVN 151 checkout - will put on NDG dist

SWITCH OFF security by setting standalone = False in ndgDiscovery.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/config/ndgMiddleware.py

    r3901 r3919  
    99class ndgMiddleware: 
    1010     
    11     def __init__(self,app,g): 
     11    def __init__(self, app, g, app_conf): 
    1212         
    1313        #this is the next application in the wsgi stack 
     
    8686                         
    8787                 
    88             SSOMiddleware(app, cf.config, g, 
    89                           defSection='NDG_SECURITY.ssoClient') 
     88            self.app = SSOMiddleware(app, cf.config, g, app_conf, 
     89                                     defSection='NDG_SECURITY.ssoClient') 
    9090             
    91             self.globals.sslServer = g.ndg.security.client.ssoclient.cfg.sslServer 
    92             self.globals.wayfuri=g.ndg.security.client.ssoclient.cfg.wayfuri 
    93             self.globals.logout=g.ndg.security.client.ssoclient.cfg.logoutURI 
     91            self.globals.sslServer = g.ndg.security.common.sso.cfg.sslServer 
     92            self.globals.wayfuri=g.ndg.security.common.sso.cfg.wayfuri 
     93            self.globals.logout=g.ndg.security.common.sso.cfg.logoutURI 
    9494             
    9595        elif isSSOService: 
     
    104104                         
    105105                 
    106             SSOMiddleware(app, cf.config, g,  
    107                           defSection='NDG_SECURITY.ssoService') 
     106            self.app = SSOMiddleware(app, g, app_conf, 
     107                                     defSection='NDG_SECURITY.ssoService', 
     108                                     wssSection='NDG_SECURITY.wssecurity') 
    108109             
    109             self.globals.sslServer=g.ndg.security.server.ssoservice.cfg.sslServer 
    110             self.globals.wayfuri=g.ndg.security.server.ssoservice.cfg.wayfuri 
    111             self.globals.logout=g.ndg.security.server.ssoservice.cfg.logoutURI 
    112             self.globals.getCredentials=g.ndg.security.server.ssoservice.cfg.getCredentials 
     110            self.globals.sslServer=g.ndg.security.server.sso.cfg.sslServer 
     111            self.globals.wayfuri=g.ndg.security.server.sso.cfg.wayfuri 
     112            self.globals.logout=g.ndg.security.server.sso.cfg.logoutURI 
     113            self.globals.getCredentials=g.ndg.security.server.sso.cfg.getCredentials 
    113114 
    114115        # Policy Enforcement Point initialisation 
Note: See TracChangeset for help on using the changeset viewer.