]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Keystone token parsing doesn't need to know API version. 7719/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Mon, 8 Feb 2016 15:41:36 +0000 (16:41 +0100)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 19 Feb 2016 20:16:36 +0000 (12:16 -0800)
commit55cbc60d46a71563a0dff5ba7c63683a3f3d6c7a
tree4ff772eba15e722683df98364e534e0b68367eef
parentabbd91293de48090ac36ce3dbf27007e9d04b6a4
rgw: Keystone token parsing doesn't need to know API version.

This patch targets an issue with S3Extension in Keystone:
requested tokens always conform to Keystone API v2 - regardless
of the version used to make the request.

Previous implementation of KeystoneToken::parse() as well
as KeystoneToken::decode_json() had to know the API version
explicitly. Thus, they might be affected in the future by
changes in S3-compatibility middleware of Keystone.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/Makefile.am
src/rgw/rgw_json_enc.cc
src/rgw/rgw_keystone.cc
src/rgw/rgw_keystone.h
src/rgw/rgw_rest_s3.h
src/rgw/rgw_swift.cc