Ignore:
Timestamp:
01/08/07 12:57:10 (12 years ago)
Author:
lawrence
Message:

Turning of security in ndgInterface for now ...

Location:
TI05-delivery/ows_framework/trunk/ows_server/ows_server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/login.py

    r2753 r2754  
    162162         
    163163        #currently fudge this 
    164         c.providers={'badc.nerc.ac.uk':g.server+'/login', 
    165                           'bodc.nerc.a.cuk':'NotImplemented'} 
    166          
    167         if 1: return render_response('wayf') 
     164        #c.providers={'badc.nerc.ac.uk':g.server+'/login', 
     165        #                  'bodc.nerc.a.cuk':'NotImplemented'} 
     166         
    168167         
    169168        if 'roleNeeded' in self.inputs: 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/ndgInterface.py

    r2695 r2754  
    187187            pass # for the moment 
    188188        elif uri.schema =='NDG-A0': 
    189             s=x.tree.find('{http://ndg.nerc.ac.uk/csml}AccessControlPolicy/{http://ndg.nerc.ac.uk/csml}dgSecurityCondition') 
    190             if s is not None: 
    191                 status,message=HandleSecurity(s,securityTokens) 
    192                 if not status: return 0,'<p> Access Denied </p><p>%s</p>'%message 
     189            if 0: 
     190                # turn off security for now 
     191                s=x.tree.find('{http://ndg.nerc.ac.uk/csml}AccessControlPolicy/{http://ndg.nerc.ac.uk/csml}dgSecurityCondition') 
     192                if s is not None: 
     193                    status,message=HandleSecurity(s,securityTokens) 
     194                    if not status: return 0,'<p> Access Denied </p><p>%s</p>'%message 
    193195        return 1,x 
    194196                 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/ndgSecurity.py

    r2748 r2754  
    11from ows_common.exception_report import OwsError 
     2from pylons import request 
    23from ndg.security.common.SessionMgr import SessionMgrClient, \ 
    34    AttributeRequestDenied 
Note: See TracChangeset for help on using the changeset viewer.