diff options
| author | Jesse Andrews <anotherjesse@gmail.com> | 2011-05-25 12:13:25 -0700 |
|---|---|---|
| committer | Jesse Andrews <anotherjesse@gmail.com> | 2011-05-25 12:13:25 -0700 |
| commit | 92fc0268ff882a6773a538cd6bdfc5b0f7e60e9d (patch) | |
| tree | 62e0cdf66423132935e3d106aeee8b057fe5e06a | |
| parent | de2d9122ab48f283f345835a0436f073c9c893ae (diff) | |
| download | keystone-92fc0268ff882a6773a538cd6bdfc5b0f7e60e9d.tar.gz keystone-92fc0268ff882a6773a538cd6bdfc5b0f7e60e9d.tar.xz keystone-92fc0268ff882a6773a538cd6bdfc5b0f7e60e9d.zip | |
Updated with feedback from https://github.com/khussein/keystone/issues/49#issuecomment-1237312
| -rw-r--r-- | keystone/auth_protocols/auth_token.py | 4 |
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 |
