summaryrefslogtreecommitdiffstats
path: root/tests/keystone_compat_diablo.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/keystone_compat_diablo.conf')
-rw-r--r--tests/keystone_compat_diablo.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/keystone_compat_diablo.conf b/tests/keystone_compat_diablo.conf
index 8318a0ca..d9052631 100644
--- a/tests/keystone_compat_diablo.conf
+++ b/tests/keystone_compat_diablo.conf
@@ -3,6 +3,7 @@ catalog_driver = keystonelight.backends.kvs.KvsCatalog
identity_driver = keystonelight.backends.kvs.KvsIdentity
token_driver = keystonelight.backends.kvs.KvsToken
public_port = 5000
+admin_token = ADMIN
[filter:debug]
paste.filter_factory = keystonelight.wsgi:Debug.factory
@@ -10,6 +11,9 @@ paste.filter_factory = keystonelight.wsgi:Debug.factory
[filter:token_auth]
paste.filter_factory = keystonelight.service:TokenAuthMiddleware.factory
+[filter:admin_token_auth]
+paste.filter_factory = keystonelight.service:AdminTokenAuthMiddleware.factory
+
[filter:json_body]
paste.filter_factory = keystonelight.service:JsonBodyMiddleware.factory
@@ -17,4 +21,4 @@ paste.filter_factory = keystonelight.service:JsonBodyMiddleware.factory
paste.app_factory = keystonelight.keystone_compat:app_factory
[pipeline:main]
-pipeline = token_auth json_body debug keystone
+pipeline = token_auth admin_token_auth json_body debug keystone