summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keystone/auth_protocols/auth_token.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/keystone/auth_protocols/auth_token.py b/keystone/auth_protocols/auth_token.py
index d6bc9270..60a98e1e 100644
--- a/keystone/auth_protocols/auth_token.py
+++ b/keystone/auth_protocols/auth_token.py
@@ -161,8 +161,10 @@ class AuthProtocol(object):
if claims:
# TODO(Ziad): add additional details we may need,
# like tenant and group info
- self._decorate_request('X_AUTHORIZATION', claims['user'])
+ self._decorate_request('X_AUTHORIZATION', "Proxy %s" %
+ claims['user'])
self._decorate_request('X_TENANT', claims['tenant'])
+ self._decorate_request('X_USER', claims['user'])
if 'group' in claims:
self._decorate_request('X_GROUP', claims['group'])
self.expanded = True