From: Evan Broder Date: Mon, 23 Nov 2009 04:14:52 +0000 (-0500) Subject: Add a magic invirt.authz.mech module that loads whatever authz.mech is X-Git-Tag: 0.0.26~6 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-base.git/commitdiff_plain/2c66854303de3bc27c112a501110b7e5e3b4cc69 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 --- 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')