Ignore:
Timestamp:
23/01/09 21:53:34 (11 years ago)
Author:
pjkersha
Message:
  • added initialisation decorator for use with derived classes if ndg.security.server.wsgi.NDGSecurityMiddlewareBase.call
  • fixed SSO Client Middleware - client interface for using Single Sign On Service from Pylons or other app
  • Added capability to pass in args to class to be instantiated from instantiateClass factory function in classfactory module
  • Modified SSO wayf template to enable login from this page if the user is at their home site - saves an extra login step
  • Added Signin interface plugin for OpenID Relying Party middleware. The plugin is itself middleware so that it can include other middleware filters such StaticURLParser to include static content used in template.
Location:
TI12-security/trunk/python/ndg.security.test/ndg/security/test
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/serverapp.py

    r4855 r4863  
    177177    os.environ['NDGSEC_COMBINED_SRVS_UNITTEST_DIR']=abspath(dirname(__file__)) 
    178178     
    179 # To start the Site A Attribute Authority run  
    180 # $ paster serve site-a.ini or run this file as a script 
    181 # $ ./siteAServerApp.py [port #] 
     179# To start run  
     180# $ paster serve services.ini or run this file as a script 
     181# $ ./serverapp.py [port #] 
    182182if __name__ == '__main__': 
    183183    import sys 
     
    195195    from paste.deploy import loadapp 
    196196     
    197     from paste.urlparser import StaticURLParser 
    198     from paste.cascade import Cascade 
    199      
    200197    app = loadapp('config:%s' % cfgFilePath) 
    201198    serve(app, host='0.0.0.0', port=port) 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/services.ini

    r4855 r4863  
    1111# date: 30/11/05 
    1212# Copyright: (C) 2009 Science and Technology Facilities Council 
    13 # license: This software may be distributed under the terms of the Q Public  
    14 # License, version 1.0 or later. 
     13# license: BSD - see LICENSE file in top-level directory 
    1514# Contact: Philip.Kershaw@stfc.ac.uk 
    1615# Revision: $Id$ 
     
    172171# Debug mode will enable the interactive debugging tool, allowing ANYONE to 
    173172# execute malicious code after an exception is raised. 
    174 set debug = false 
     173set debug = true 
    175174 
    176175configfile = %(here)s/singleSignOnService/sso.cfg 
     
    195194authkit.openid.urltouser = ndg.security.server.sso.sso.lib.openid_util:url2user 
    196195 
    197 # Chain of SOAP Middleware filters 
     196# Chain of Middleware filters 
    198197[pipeline:main] 
    199198pipeline = wsseSignatureVerificationFilter  
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/singleSignOnService/sso.cfg

    r4773 r4863  
    1414tracefile: None 
    1515#tracefile: sys.stderr 
    16  
    17 # Service addresses 
    18 sessionMgrURI: http://localhost:8000/SessionManager 
    19  
    20 # If the Attribute Authority URI is commented out the service will try to  
    21 # connect to an Attribute Authority instance in the local WSG stack 
    22 #attributeAuthorityURI: http://localhost:8000/AttributeAuthority 
    2316 
    2417# WS-Security signature handler - set a config file with 'wssCfgFilePath' 
     
    5043 
    5144# Flag to enable OpenID login 
    52 #enableOpenID: True 
     45enableOpenID: True 
    5346 
    5447# Service addresses - connect to a remote service or provide a key to WSGI  
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/siteAMapConfig.xml

    r4718 r4863  
    66        <loginURI>https://localhost/login</loginURI> 
    77            <aaDN>/O=NDG/OU=Site A/CN=AttributeAuthority</aaDN> 
    8             <loginServerDN>/C=UK/ST=Oxfordshire/O=STFC/OU=BADC/CN=localhost</loginServerDN> 
     8        <loginServerDN>/C=UK/ST=Oxfordshire/O=STFC/OU=BADC/CN=localhost</loginServerDN> 
    99            <loginRequestServerDN>/C=UK/ST=Oxfordshire/O=STFC/OU=BADC/CN=localhost</loginRequestServerDN> 
    1010    </thisHost> 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sslclientauthnmiddleware/test.ini

    r4770 r4863  
    77# date: 11/12/08 
    88# Copyright: (C) 2009 Science and Technology Facilities Council 
    9 # license: This software may be distributed under the terms of the Q Public  
    10 # License, version 1.0 or later. 
     9# license: BSD - see LICENSE file in top-level directory 
    1110# Contact: Philip.Kershaw@stfc.ac.uk 
    1211# Revision: $Id$ 
Note: See TracChangeset for help on using the changeset viewer.