summaryrefslogtreecommitdiffstats
path: root/cobbler/api.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-12-04 16:36:32 -0500
committerMichael DeHaan <mdehaan@redhat.com>2007-12-04 16:36:32 -0500
commit58cae26af9b3a868041b52fc0dde6047faff73a3 (patch)
tree6ed3d21a598cfc3e513e6315d7275d2b32ff8101 /cobbler/api.py
parent57ef142ab094e156bb25b077ce16563dfde5a8ff (diff)
downloadthird_party-cobbler-58cae26af9b3a868041b52fc0dde6047faff73a3.tar.gz
third_party-cobbler-58cae26af9b3a868041b52fc0dde6047faff73a3.tar.xz
third_party-cobbler-58cae26af9b3a868041b52fc0dde6047faff73a3.zip
AuthN/AuthZ modules are now pluggable, http://127.0.0.1/cobbler/web now active for mod_python using AuthN/AuthZ, backend now also doing AuthZ. default AuthN mechanism is using /etc/cobbler/auth.conf for now, which needs to be replaced, should use htdigest data at minimum.
Diffstat (limited to 'cobbler/api.py')
-rw-r--r--cobbler/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/api.py b/cobbler/api.py
index 50ad244..e6ef88b 100644
--- a/cobbler/api.py
+++ b/cobbler/api.py
@@ -238,13 +238,13 @@ class BootAPI:
"""
return module_loader.get_module_by_name(module_name)
- def get_module_from_file(self,section,name):
+ def get_module_from_file(self,section,name,fallback=None):
"""
Looks in /etc/cobbler/modules.conf for a section called 'section'
and a key called 'name', and then returns the module that corresponds
to the value of that key.
"""
- return module_loader.get_module_from_file(section,name)
+ return module_loader.get_module_from_file(section,name,fallback)
def get_modules_in_category(self,category):
"""