1 # This file was automatically generated by SWIG (http://www.swig.org).
4 # Don't modify this file, modify the SWIG interface instead.
7 Authentication and authorization support.
12 new_instancemethod
= new
.instancemethod
14 _swig_property
= property
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
)
20 if type(value
).__name
__ == 'PySwigObject':
21 self
.__dict
__[name
] = value
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
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
40 try: strthis
= "proxy of " + self
.this
.__repr
__()
42 return "<%s.%s; %s >" % (self
.__class
__.__module
__, self
.__class
__.__name
__, strthis
,)
46 _object
= types
.ObjectType
48 except AttributeError:
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"):
60 raise AttributeError("You cannot add attributes to %s" % self
)
65 system_session
= _auth
.system_session
66 system_session_anon
= _auth
.system_session_anon