- Timestamp:
- 01/08/07 12:57:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/ndgInterface.py
r2695 r2754 187 187 pass # for the moment 188 188 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 193 195 return 1,x 194 196
Note: See TracChangeset
for help on using the changeset viewer.