summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Andrews <anotherjesse@gmail.com>2011-05-26 03:14:38 +0800
committerKevin L. Mitchell <kevin.mitchell@rackspace.com>2011-05-26 05:55:05 +0800
commit2e7ac40e8189d85355a8bff9991cddb203b31bd3 (patch)
tree1b4a982e9bf0c87f0d65e60f3cd0782c241bebb2
parent3663a3bc8f31d40814225d8e1dab1e4a8747e23d (diff)
Updated to use X_USER as decided in Issue 49
-rw-r--r--keystone/auth_protocols/nova_auth_token.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone/auth_protocols/nova_auth_token.py b/keystone/auth_protocols/nova_auth_token.py
index 150fcd88..e9d61b74 100644
--- a/keystone/auth_protocols/nova_auth_token.py
+++ b/keystone/auth_protocols/nova_auth_token.py
@@ -54,7 +54,7 @@ class KeystoneAuthShim(wsgi.Middleware):
def __call__(self, req):
# Parse out user_id
try:
- user_id = req.headers['X_AUTHORIZATION'].split()[1]
+ user_id = req.headers['X_USER']
except:
return webob.exc.HTTPUnauthorized()
try: