Ignore:
Timestamp:
16/11/07 11:37:21 (12 years ago)
Author:
pjkersha
Message:

More complete logging info access request - #854

ows_server/models/ndgSecurity.py:

  • additional uri arg corresponding to data granule ID
  • access granted log message now includes the above

ows_server/lib/ndgInterface.py: modified HandleSecurity? call to include data granule ID.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/ndgInterface.py

    r2881 r3018  
    197197                s=x.tree.find('{http://ndg.nerc.ac.uk/csml}AccessControlPolicy/{http://ndg.nerc.ac.uk/csml}dgSecurityCondition') 
    198198                if s is not None: 
    199                     status,message=HandleSecurity(s,securityTokens) 
     199                    status,message=HandleSecurity(uri,s,securityTokens) 
    200200                    if not status: return 0,'<p> Access Denied for %s </p><p>%s</p>'%(uri,message) 
    201201        return 1,x 
Note: See TracChangeset for help on using the changeset viewer.