summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Andrews <anotherjesse@gmail.com>2011-05-25 12:14:38 -0700
committerJesse Andrews <anotherjesse@gmail.com>2011-05-25 12:14:38 -0700
commit0e6902733a7e8ee8bd60323abcf72cf5f3c3a3bf (patch)
tree79dd8f4bb4c0343177f1404dfab2eefa6045ce25
parent92fc0268ff882a6773a538cd6bdfc5b0f7e60e9d (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: