Define FILE_NOTIFY_CHANGE_ANY to monitor all possbile changes
[Samba/vfs_proxy.git] / source4 / auth / auth.py
blob1e5d68804bf5702b32610f9ac6a150725d0d5f20
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 1.3.36
4 # Don't modify this file, modify the SWIG interface instead.
6 """
7 Authentication and authorization support.
8 """
10 import _auth
11 import new
12 new_instancemethod = new.instancemethod
13 try:
14 _swig_property = property
15 except NameError:
16 pass # Python < 2.2 doesn't have 'property'.
17 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
18 if (name == "thisown"): return self.this.own(value)
19 if (name == "this"):
20 if type(value).__name__ == 'PySwigObject':
21 self.__dict__[name] = value
22 return
23 method = class_type.__swig_setmethods__.get(name,None)
24 if method: return method(self,value)
25 if (not static) or hasattr(self,name):
26 self.__dict__[name] = value
27 else:
28 raise AttributeError("You cannot add attributes to %s" % self)
30 def _swig_setattr(self,class_type,name,value):
31 return _swig_setattr_nondynamic(self,class_type,name,value,0)
33 def _swig_getattr(self,class_type,name):
34 if (name == "thisown"): return self.this.own()
35 method = class_type.__swig_getmethods__.get(name,None)
36 if method: return method(self)
37 raise AttributeError,name
39 def _swig_repr(self):
40 try: strthis = "proxy of " + self.this.__repr__()
41 except: strthis = ""
42 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
44 import types
45 try:
46 _object = types.ObjectType
47 _newclass = 1
48 except AttributeError:
49 class _object : pass
50 _newclass = 0
51 del types
54 def _swig_setattr_nondynamic_method(set):
55 def set_attr(self,name,value):
56 if (name == "thisown"): return self.this.own(value)
57 if hasattr(self,name) or (name == "this"):
58 set(self,name,value)
59 else:
60 raise AttributeError("You cannot add attributes to %s" % self)
61 return set_attr
64 import param
65 system_session = _auth.system_session
66 system_session_anon = _auth.system_session_anon