diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-12-04 16:36:32 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-12-04 16:36:32 -0500 |
commit | 58cae26af9b3a868041b52fc0dde6047faff73a3 (patch) | |
tree | 6ed3d21a598cfc3e513e6315d7275d2b32ff8101 /cobbler/api.py | |
parent | 57ef142ab094e156bb25b077ce16563dfde5a8ff (diff) | |
download | third_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.py | 4 |
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): """ |