From 92fc0268ff882a6773a538cd6bdfc5b0f7e60e9d Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Wed, 25 May 2011 12:13:25 -0700 Subject: Updated with feedback from https://github.com/khussein/keystone/issues/49#issuecomment-1237312 --- keystone/auth_protocols/auth_token.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit