source: TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/ndgSecurity.py @ 2641

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/ndgSecurity.py@2641
Revision 2641, 221 bytes checked in by lawrence, 13 years ago (diff)

Fixed major bug in xmlHandler2, and retrieve now
respects CSML security. CSML documents are large
so need to put caching in place.

Line 
1def HandleSecurity(securityElement,securityTokens):
2    if securityTokens is not None:
3        status=1
4        message='Access Allowed'
5    else:
6        status=0
7        message='Not Logged in'
8    return status,message
Note: See TracBrowser for help on using the repository browser.