source: TI03-DataExtractor/branches/old_stuff/dx_source/for_usr_local/dx/security.py @ 793

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/branches/old_stuff/dx_source/for_usr_local/dx/security.py@793
Revision 793, 785 bytes checked in by astephen, 13 years ago (diff)

Put all the old code in the old_stuff branch.

Line 
1#   Copyright (C) 2004 CCLRC & NERC( Natural Environment Research Council ).
2#   This software may be distributed under the terms of the
3#   Q Public License, version 1.0 or later. http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt
4
5"""
6security.py
7===========
8
9Security module for the Data Extractor.
10
11Note that there is no standard security implementation for dx.
12You must implement your own but the Security class provides a hook
13to do this with.
14
15"""
16
17# Import python standard library modules
18import sys, os
19
20# Import local modules
21### Import your local modules here.
22
23class Security:
24    """
25    Security class - requires your code for implementation.
26    Will typically contain:
27   
28    def __init__(self, username, password):
29    def getLoginStatus(self):
30    """
31    pass
32
Note: See TracBrowser for help on using the repository browser.