From 2c66854303de3bc27c112a501110b7e5e3b4cc69 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sun, 22 Nov 2009 23:14:52 -0500 Subject: [PATCH] Add a magic invirt.authz.mech module that loads whatever authz.mech is set to in the configuration. svn path=/trunk/packages/invirt-base/; revision=2560 --- debian/changelog | 7 ++++++- python/invirt/authz/__init__.py | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6247b78..875f2fb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,13 @@ invirt-base (0.0.26) unstable; urgency=low * Add a captureOutput function to invirt.common as a convenient wrapper around subprocess.Popen. * Allow iterating over invirt.common.struct objects. + * New invirt.authz package containing: + - invirt.authz.locker: The authorization policies currently being used + by XVM + - invirt.authz.mech: Automagically populated by the authorization + module selected in the Invirt config file - -- Evan Broder Sun, 22 Nov 2009 16:55:07 -0500 + -- Evan Broder Sun, 22 Nov 2009 21:18:38 -0500 invirt-base (0.0.25) unstable; urgency=low diff --git a/python/invirt/authz/__init__.py b/python/invirt/authz/__init__.py index e69de29..9aaa397 100644 --- a/python/invirt/authz/__init__.py +++ b/python/invirt/authz/__init__.py @@ -0,0 +1,3 @@ +from invirt.config import structs as config + +mech = __import__(config.authz.mech, fromlist='dummy') -- 1.7.9.5