summaryrefslogtreecommitdiff
path: root/keystonemiddleware/opts.py
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@redhat.com>2014-08-21 12:42:35 +1000
committerJamie Lennox <jamielennox@redhat.com>2014-10-28 10:24:32 +0100
commitf21ccea42cf2e4c2dd4aff63f6feca72d81c4e18 (patch)
treeffbe62c98a499f13dec042d992184d1151e071ee /keystonemiddleware/opts.py
parent365b3ea1d90c431f67d9d78e715c871fda99ae11 (diff)
downloadkeystonemiddleware-f21ccea42cf2e4c2dd4aff63f6feca72d81c4e18.tar.gz
Convert authentication into a plugin
Extract all the information that is related to auth and make it into a keystoneclient auth plugin. This will make it easier later to substitute this auth plugin for another auth plugin. Blueprint: pluggable-auth Change-Id: Ibf9bc1dbf26f396bac09a96398a6467afc30f529
Diffstat (limited to 'keystonemiddleware/opts.py')
-rw-r--r--keystonemiddleware/opts.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/keystonemiddleware/opts.py b/keystonemiddleware/opts.py
index 6abea9d..33be3db 100644
--- a/keystonemiddleware/opts.py
+++ b/keystonemiddleware/opts.py
@@ -22,7 +22,9 @@ import keystonemiddleware.auth_token
auth_token_opts = [
- ('keystone_authtoken', keystonemiddleware.auth_token._OPTS)
+ (keystonemiddleware.auth_token._AUTHTOKEN_GROUP,
+ keystonemiddleware.auth_token._OPTS +
+ keystonemiddleware.auth_token._AuthTokenPlugin.get_options())
]