From ddb951239b76772761b296662dbbbc3b52e10cbc Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Tue, 24 May 2011 13:51:33 -0700 Subject: user should be what keystone returns --- keystone/auth_protocols/auth_token.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/keystone/auth_protocols/auth_token.py b/keystone/auth_protocols/auth_token.py index 4de54a55..d6bc9270 100644 --- a/keystone/auth_protocols/auth_token.py +++ b/keystone/auth_protocols/auth_token.py @@ -161,10 +161,8 @@ class AuthProtocol(object): if claims: # TODO(Ziad): add additional details we may need, # like tenant and group info - self._decorate_request('X_AUTHORIZATION', - "Proxy %s" % claims['user']) - self._decorate_request('X_TENANT', - claims['tenant']) + self._decorate_request('X_AUTHORIZATION', claims['user']) + self._decorate_request('X_TENANT', claims['tenant']) if 'group' in claims: self._decorate_request('X_GROUP', claims['group']) self.expanded = True -- cgit