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

Turning of security in ndgInterface for now ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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                 
Note: See TracChangeset for help on using the changeset viewer.