Changeset 4146 for TI12-security


Ignore:
Timestamp:
28/08/08 11:28:28 (11 years ago)
Author:
pjkersha
Message:

Fixes to server setup.py for inclusion of none .py pylons container files for egg.

Location:
TI12-security/trunk/python
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/Tests/m2Crypto/httpsTest.py

    r4082 r4146  
    22from M2Crypto.httpslib import HTTPSConnection 
    33 
    4 #hostname = 'gabriel.badc.rl.ac.uk' 
    5 hostname = 'grid.bodc.nerc.ac.uk' 
    6 path = '/ndg/SessionManager' 
     4hostname = 'gabriel.badc.rl.ac.uk' 
     5#hostname = 'grid.bodc.nerc.ac.uk' 
     6path = '/openid' 
    77# 
    88#body = '''<SOAP-ENV:Envelope  
     
    2323 
    2424con = HTTPSConnection(hostname) 
    25 con.putrequest('POST', path) 
     25con.putrequest('GET', path) 
    2626con.endheaders() 
    2727resp = con.getresponse() 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/pylons/development.ini

    r4132 r4146  
    7272openid_provider.path.mainpage=/openid 
    7373openid_provider.session_middleware=beaker.session  
    74 openid_provider.base_url=http://localhost:8200 
     74#openid_provider.base_url=http://localhost:8200 
    7575openid_provider.base_url=https://gabriel.badc.rl.ac.uk 
    7676#openid_provider.consumer_store_dirpath=./ 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/wsgi/openid_provider.py

    r4141 r4146  
    267267                # Display text indicating that this is an endpoint. 
    268268                response = self.do_mainpage(environ, start_response) 
    269                  
     269             
    270270            # Check mode is one of "checkid_immediate", "checkid_setup" 
    271             if oidRequest.mode in server.BROWSER_REQUEST_MODES: 
     271            elif oidRequest.mode in server.BROWSER_REQUEST_MODES: 
    272272                response = self._handleCheckIDRequest(oidRequest) 
    273273            else: 
  • TI12-security/trunk/python/ndg.security.server/setup.py

    r4143 r4146  
    9797        'ndg.security.server.sso.sso': ['public/*.*', 'public/layout/*.*'], 
    9898        'ndg.security.server.sso.sso.templates.ndg.security': ['*.kid']}, 
     99        'ndg.security.server.pylons': ['*.ini', '*.cfg', '*.txt'], 
     100        'ndg.security.server.pylons.container': ['public/*.*', 'public/layout/*.*'], 
     101        'ndg.security.server.pylons.container.templates.ndg.security': ['*.kid']}, 
    99102    entry_points =           _entryPoints, 
    100103    test_suite =                    'ndg.security.test', 
Note: See TracChangeset for help on using the changeset viewer.