/usr/share/pyshared/arc/security.py is in nordugrid-arc-python 4.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_security', [dirname(__file__)])
except ImportError:
from arc import _security
return _security
if fp is not None:
try:
_mod = imp.load_module('_security', fp, pathname, description)
finally:
fp.close()
return _mod
_security = swig_import_helper()
del swig_import_helper
else:
from arc import _security
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
class SwigPyIterator(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _security.delete_SwigPyIterator
__del__ = lambda self : None;
def value(self): return _security.SwigPyIterator_value(self)
def incr(self, n=1): return _security.SwigPyIterator_incr(self, n)
def decr(self, n=1): return _security.SwigPyIterator_decr(self, n)
def distance(self, *args): return _security.SwigPyIterator_distance(self, *args)
def equal(self, *args): return _security.SwigPyIterator_equal(self, *args)
def copy(self): return _security.SwigPyIterator_copy(self)
def next(self): return _security.SwigPyIterator_next(self)
def __next__(self): return _security.SwigPyIterator___next__(self)
def previous(self): return _security.SwigPyIterator_previous(self)
def advance(self, *args): return _security.SwigPyIterator_advance(self, *args)
def __eq__(self, *args): return _security.SwigPyIterator___eq__(self, *args)
def __ne__(self, *args): return _security.SwigPyIterator___ne__(self, *args)
def __iadd__(self, *args): return _security.SwigPyIterator___iadd__(self, *args)
def __isub__(self, *args): return _security.SwigPyIterator___isub__(self, *args)
def __add__(self, *args): return _security.SwigPyIterator___add__(self, *args)
def __sub__(self, *args): return _security.SwigPyIterator___sub__(self, *args)
def __iter__(self): return self
SwigPyIterator_swigregister = _security.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
import warnings
def deprecated(method):
"""This decorator is used to mark python methods as deprecated, _not_
functions. It will result in a warning being emmitted when the method
is used."""
def newMethod(*args, **kwargs):
warnings.warn("Call to deprecated method 'arc.%s.%s'." % (args[0].__class__.__name__, method.__name__), category = DeprecationWarning, stacklevel = 2)
return method(*args, **kwargs)
newMethod.__name__ = method.__name__
newMethod.__doc__ = method.__doc__
newMethod.__dict__.update(method.__dict__)
return newMethod
class StaticPropertyWrapper(object):
def __init__(self, wrapped_class):
object.__setattr__(self, "wrapped_class", wrapped_class)
def __getattr__(self, name):
orig_attr = getattr(self.wrapped_class, name)
if isinstance(orig_attr, property):
return orig_attr.fget()
else:
return orig_attr
def __setattr__(self, name, value):
orig_attr = getattr(self.wrapped_class, name)
if isinstance(orig_attr, property):
orig_attr.fset(value)
else:
setattr(self.wrapped_class, name, value)
class StringPair(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StringPair, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StringPair, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _security.new_StringPair(*args)
try: self.this.append(this)
except: self.this = this
__swig_setmethods__["first"] = _security.StringPair_first_set
__swig_getmethods__["first"] = _security.StringPair_first_get
if _newclass:first = _swig_property(_security.StringPair_first_get, _security.StringPair_first_set)
__swig_setmethods__["second"] = _security.StringPair_second_set
__swig_getmethods__["second"] = _security.StringPair_second_get
if _newclass:second = _swig_property(_security.StringPair_second_get, _security.StringPair_second_set)
def __len__(self): return 2
def __repr__(self): return str((self.first, self.second))
def __getitem__(self, index):
if not (index % 2):
return self.first
else:
return self.second
def __setitem__(self, index, val):
if not (index % 2):
self.first = val
else:
self.second = val
__swig_destroy__ = _security.delete_StringPair
__del__ = lambda self : None;
StringPair_swigregister = _security.StringPair_swigregister
StringPair_swigregister(StringPair)
class StringList(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StringList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StringList, name)
__repr__ = _swig_repr
def iterator(self): return _security.StringList_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _security.StringList___nonzero__(self)
def __bool__(self): return _security.StringList___bool__(self)
def __len__(self): return _security.StringList___len__(self)
def pop(self): return _security.StringList_pop(self)
def __getslice__(self, *args): return _security.StringList___getslice__(self, *args)
def __setslice__(self, *args): return _security.StringList___setslice__(self, *args)
def __delslice__(self, *args): return _security.StringList___delslice__(self, *args)
def __delitem__(self, *args): return _security.StringList___delitem__(self, *args)
def __getitem__(self, *args): return _security.StringList___getitem__(self, *args)
def __setitem__(self, *args): return _security.StringList___setitem__(self, *args)
def append(self, *args): return _security.StringList_append(self, *args)
def empty(self): return _security.StringList_empty(self)
def size(self): return _security.StringList_size(self)
def clear(self): return _security.StringList_clear(self)
def swap(self, *args): return _security.StringList_swap(self, *args)
def get_allocator(self): return _security.StringList_get_allocator(self)
def begin(self): return _security.StringList_begin(self)
def end(self): return _security.StringList_end(self)
def rbegin(self): return _security.StringList_rbegin(self)
def rend(self): return _security.StringList_rend(self)
def pop_back(self): return _security.StringList_pop_back(self)
def erase(self, *args): return _security.StringList_erase(self, *args)
def __init__(self, *args):
this = _security.new_StringList(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _security.StringList_push_back(self, *args)
def front(self): return _security.StringList_front(self)
def back(self): return _security.StringList_back(self)
def assign(self, *args): return _security.StringList_assign(self, *args)
def resize(self, *args): return _security.StringList_resize(self, *args)
def insert(self, *args): return _security.StringList_insert(self, *args)
def pop_front(self): return _security.StringList_pop_front(self)
def push_front(self, *args): return _security.StringList_push_front(self, *args)
def reverse(self): return _security.StringList_reverse(self)
__swig_destroy__ = _security.delete_StringList
__del__ = lambda self : None;
StringList_swigregister = _security.StringList_swigregister
StringList_swigregister(StringList)
class StringSet(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StringSet, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StringSet, name)
__repr__ = _swig_repr
def iterator(self): return _security.StringSet_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _security.StringSet___nonzero__(self)
def __bool__(self): return _security.StringSet___bool__(self)
def __len__(self): return _security.StringSet___len__(self)
def append(self, *args): return _security.StringSet_append(self, *args)
def __contains__(self, *args): return _security.StringSet___contains__(self, *args)
def __getitem__(self, *args): return _security.StringSet___getitem__(self, *args)
def add(self, *args): return _security.StringSet_add(self, *args)
def discard(self, *args): return _security.StringSet_discard(self, *args)
def __init__(self, *args):
this = _security.new_StringSet(*args)
try: self.this.append(this)
except: self.this = this
def empty(self): return _security.StringSet_empty(self)
def size(self): return _security.StringSet_size(self)
def clear(self): return _security.StringSet_clear(self)
def swap(self, *args): return _security.StringSet_swap(self, *args)
def count(self, *args): return _security.StringSet_count(self, *args)
def begin(self): return _security.StringSet_begin(self)
def end(self): return _security.StringSet_end(self)
def rbegin(self): return _security.StringSet_rbegin(self)
def rend(self): return _security.StringSet_rend(self)
def erase(self, *args): return _security.StringSet_erase(self, *args)
def find(self, *args): return _security.StringSet_find(self, *args)
def lower_bound(self, *args): return _security.StringSet_lower_bound(self, *args)
def upper_bound(self, *args): return _security.StringSet_upper_bound(self, *args)
def equal_range(self, *args): return _security.StringSet_equal_range(self, *args)
def insert(self, *args): return _security.StringSet_insert(self, *args)
__swig_destroy__ = _security.delete_StringSet
__del__ = lambda self : None;
StringSet_swigregister = _security.StringSet_swigregister
StringSet_swigregister(StringSet)
class StringVector(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StringVector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StringVector, name)
__repr__ = _swig_repr
def iterator(self): return _security.StringVector_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _security.StringVector___nonzero__(self)
def __bool__(self): return _security.StringVector___bool__(self)
def __len__(self): return _security.StringVector___len__(self)
def pop(self): return _security.StringVector_pop(self)
def __getslice__(self, *args): return _security.StringVector___getslice__(self, *args)
def __setslice__(self, *args): return _security.StringVector___setslice__(self, *args)
def __delslice__(self, *args): return _security.StringVector___delslice__(self, *args)
def __delitem__(self, *args): return _security.StringVector___delitem__(self, *args)
def __getitem__(self, *args): return _security.StringVector___getitem__(self, *args)
def __setitem__(self, *args): return _security.StringVector___setitem__(self, *args)
def append(self, *args): return _security.StringVector_append(self, *args)
def empty(self): return _security.StringVector_empty(self)
def size(self): return _security.StringVector_size(self)
def clear(self): return _security.StringVector_clear(self)
def swap(self, *args): return _security.StringVector_swap(self, *args)
def get_allocator(self): return _security.StringVector_get_allocator(self)
def begin(self): return _security.StringVector_begin(self)
def end(self): return _security.StringVector_end(self)
def rbegin(self): return _security.StringVector_rbegin(self)
def rend(self): return _security.StringVector_rend(self)
def pop_back(self): return _security.StringVector_pop_back(self)
def erase(self, *args): return _security.StringVector_erase(self, *args)
def __init__(self, *args):
this = _security.new_StringVector(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _security.StringVector_push_back(self, *args)
def front(self): return _security.StringVector_front(self)
def back(self): return _security.StringVector_back(self)
def assign(self, *args): return _security.StringVector_assign(self, *args)
def resize(self, *args): return _security.StringVector_resize(self, *args)
def insert(self, *args): return _security.StringVector_insert(self, *args)
def reserve(self, *args): return _security.StringVector_reserve(self, *args)
def capacity(self): return _security.StringVector_capacity(self)
__swig_destroy__ = _security.delete_StringVector
__del__ = lambda self : None;
StringVector_swigregister = _security.StringVector_swigregister
StringVector_swigregister(StringVector)
class StringStringMap(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StringStringMap, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StringStringMap, name)
__repr__ = _swig_repr
def iterator(self): return _security.StringStringMap_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _security.StringStringMap___nonzero__(self)
def __bool__(self): return _security.StringStringMap___bool__(self)
def __len__(self): return _security.StringStringMap___len__(self)
def __iter__(self): return self.key_iterator()
def iterkeys(self): return self.key_iterator()
def itervalues(self): return self.value_iterator()
def iteritems(self): return self.iterator()
def __getitem__(self, *args): return _security.StringStringMap___getitem__(self, *args)
def __delitem__(self, *args): return _security.StringStringMap___delitem__(self, *args)
def has_key(self, *args): return _security.StringStringMap_has_key(self, *args)
def keys(self): return _security.StringStringMap_keys(self)
def values(self): return _security.StringStringMap_values(self)
def items(self): return _security.StringStringMap_items(self)
def __contains__(self, *args): return _security.StringStringMap___contains__(self, *args)
def key_iterator(self): return _security.StringStringMap_key_iterator(self)
def value_iterator(self): return _security.StringStringMap_value_iterator(self)
def __setitem__(self, *args): return _security.StringStringMap___setitem__(self, *args)
def asdict(self): return _security.StringStringMap_asdict(self)
def __init__(self, *args):
this = _security.new_StringStringMap(*args)
try: self.this.append(this)
except: self.this = this
def empty(self): return _security.StringStringMap_empty(self)
def size(self): return _security.StringStringMap_size(self)
def clear(self): return _security.StringStringMap_clear(self)
def swap(self, *args): return _security.StringStringMap_swap(self, *args)
def get_allocator(self): return _security.StringStringMap_get_allocator(self)
def begin(self): return _security.StringStringMap_begin(self)
def end(self): return _security.StringStringMap_end(self)
def rbegin(self): return _security.StringStringMap_rbegin(self)
def rend(self): return _security.StringStringMap_rend(self)
def count(self, *args): return _security.StringStringMap_count(self, *args)
def erase(self, *args): return _security.StringStringMap_erase(self, *args)
def find(self, *args): return _security.StringStringMap_find(self, *args)
def lower_bound(self, *args): return _security.StringStringMap_lower_bound(self, *args)
def upper_bound(self, *args): return _security.StringStringMap_upper_bound(self, *args)
__swig_destroy__ = _security.delete_StringStringMap
__del__ = lambda self : None;
StringStringMap_swigregister = _security.StringStringMap_swigregister
StringStringMap_swigregister(StringStringMap)
class StringDoubleMap(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StringDoubleMap, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StringDoubleMap, name)
__repr__ = _swig_repr
def iterator(self): return _security.StringDoubleMap_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _security.StringDoubleMap___nonzero__(self)
def __bool__(self): return _security.StringDoubleMap___bool__(self)
def __len__(self): return _security.StringDoubleMap___len__(self)
def __iter__(self): return self.key_iterator()
def iterkeys(self): return self.key_iterator()
def itervalues(self): return self.value_iterator()
def iteritems(self): return self.iterator()
def __getitem__(self, *args): return _security.StringDoubleMap___getitem__(self, *args)
def __delitem__(self, *args): return _security.StringDoubleMap___delitem__(self, *args)
def has_key(self, *args): return _security.StringDoubleMap_has_key(self, *args)
def keys(self): return _security.StringDoubleMap_keys(self)
def values(self): return _security.StringDoubleMap_values(self)
def items(self): return _security.StringDoubleMap_items(self)
def __contains__(self, *args): return _security.StringDoubleMap___contains__(self, *args)
def key_iterator(self): return _security.StringDoubleMap_key_iterator(self)
def value_iterator(self): return _security.StringDoubleMap_value_iterator(self)
def __setitem__(self, *args): return _security.StringDoubleMap___setitem__(self, *args)
def asdict(self): return _security.StringDoubleMap_asdict(self)
def __init__(self, *args):
this = _security.new_StringDoubleMap(*args)
try: self.this.append(this)
except: self.this = this
def empty(self): return _security.StringDoubleMap_empty(self)
def size(self): return _security.StringDoubleMap_size(self)
def clear(self): return _security.StringDoubleMap_clear(self)
def swap(self, *args): return _security.StringDoubleMap_swap(self, *args)
def get_allocator(self): return _security.StringDoubleMap_get_allocator(self)
def begin(self): return _security.StringDoubleMap_begin(self)
def end(self): return _security.StringDoubleMap_end(self)
def rbegin(self): return _security.StringDoubleMap_rbegin(self)
def rend(self): return _security.StringDoubleMap_rend(self)
def count(self, *args): return _security.StringDoubleMap_count(self, *args)
def erase(self, *args): return _security.StringDoubleMap_erase(self, *args)
def find(self, *args): return _security.StringDoubleMap_find(self, *args)
def lower_bound(self, *args): return _security.StringDoubleMap_lower_bound(self, *args)
def upper_bound(self, *args): return _security.StringDoubleMap_upper_bound(self, *args)
__swig_destroy__ = _security.delete_StringDoubleMap
__del__ = lambda self : None;
StringDoubleMap_swigregister = _security.StringDoubleMap_swigregister
StringDoubleMap_swigregister(StringDoubleMap)
class Policy(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Policy, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Policy, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _security.delete_Policy
__del__ = lambda self : None;
Policy_swigregister = _security.Policy_swigregister
Policy_swigregister(Policy)
class Request(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Request, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Request, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _security.delete_Request
__del__ = lambda self : None;
Request_swigregister = _security.Request_swigregister
Request_swigregister(Request)
DECISION_PERMIT = _security.DECISION_PERMIT
DECISION_DENY = _security.DECISION_DENY
DECISION_INDETERMINATE = _security.DECISION_INDETERMINATE
DECISION_NOT_APPLICABLE = _security.DECISION_NOT_APPLICABLE
class ResponseItem(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ResponseItem, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ResponseItem, name)
__repr__ = _swig_repr
__swig_setmethods__["res"] = _security.ResponseItem_res_set
__swig_getmethods__["res"] = _security.ResponseItem_res_get
if _newclass:res = _swig_property(_security.ResponseItem_res_get, _security.ResponseItem_res_set)
def __init__(self):
this = _security.new_ResponseItem()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _security.delete_ResponseItem
__del__ = lambda self : None;
ResponseItem_swigregister = _security.ResponseItem_swigregister
ResponseItem_swigregister(ResponseItem)
class ResponseList(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ResponseList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ResponseList, name)
__repr__ = _swig_repr
def size(self): return _security.ResponseList_size(self)
def getItem(self, *args): return _security.ResponseList_getItem(self, *args)
def empty(self): return _security.ResponseList_empty(self)
def __init__(self):
this = _security.new_ResponseList()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _security.delete_ResponseList
__del__ = lambda self : None;
ResponseList_swigregister = _security.ResponseList_swigregister
ResponseList_swigregister(ResponseList)
class Response(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Response, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Response, name)
__repr__ = _swig_repr
def getResponseItems(self): return _security.Response_getResponseItems(self)
def __init__(self):
this = _security.new_Response()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _security.delete_Response
__del__ = lambda self : None;
Response_swigregister = _security.Response_swigregister
Response_swigregister(Response)
class Source(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Source, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Source, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _security.new_Source(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _security.delete_Source
__del__ = lambda self : None;
Source_swigregister = _security.Source_swigregister
Source_swigregister(Source)
class SourceFile(Source):
__swig_setmethods__ = {}
for _s in [Source]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SourceFile, name, value)
__swig_getmethods__ = {}
for _s in [Source]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SourceFile, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _security.new_SourceFile(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _security.delete_SourceFile
__del__ = lambda self : None;
SourceFile_swigregister = _security.SourceFile_swigregister
SourceFile_swigregister(SourceFile)
class SourceURL(Source):
__swig_setmethods__ = {}
for _s in [Source]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SourceURL, name, value)
__swig_getmethods__ = {}
for _s in [Source]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SourceURL, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _security.new_SourceURL(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _security.delete_SourceURL
__del__ = lambda self : None;
SourceURL_swigregister = _security.SourceURL_swigregister
SourceURL_swigregister(SourceURL)
class Evaluator(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Evaluator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Evaluator, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def addPolicy(self, *args): return _security.Evaluator_addPolicy(self, *args)
def evaluate(self, *args): return _security.Evaluator_evaluate(self, *args)
__swig_destroy__ = _security.delete_Evaluator
__del__ = lambda self : None;
Evaluator_swigregister = _security.Evaluator_swigregister
Evaluator_swigregister(Evaluator)
class EvaluatorLoader(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, EvaluatorLoader, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, EvaluatorLoader, name)
__repr__ = _swig_repr
def __init__(self):
this = _security.new_EvaluatorLoader()
try: self.this.append(this)
except: self.this = this
def getEvaluator(self, *args): return _security.EvaluatorLoader_getEvaluator(self, *args)
def getRequest(self, *args): return _security.EvaluatorLoader_getRequest(self, *args)
def getPolicy(self, *args): return _security.EvaluatorLoader_getPolicy(self, *args)
__swig_destroy__ = _security.delete_EvaluatorLoader
__del__ = lambda self : None;
EvaluatorLoader_swigregister = _security.EvaluatorLoader_swigregister
EvaluatorLoader_swigregister(EvaluatorLoader)
# This file is compatible with both classic and new-style classes.
|