]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Adds passwd alternative to keystone admin token
authorChristophe Courtaut <christophe.courtaut@gmail.com>
Wed, 3 Jul 2013 18:48:12 +0000 (20:48 +0200)
committerChristophe Courtaut <christophe.courtaut@gmail.com>
Sun, 27 Oct 2013 14:01:33 +0000 (15:01 +0100)
commitbd04a775a89d7ce7581408d2befe5ebb6462adb5
tree8e51bfac04268321d4d2a4198052c186d7556d93
parent289b7903407ce1b34f1afe9e0c769093c14d0ba9
rgw: Adds passwd alternative to keystone admin token

http://tracker.ceph.com/issues/5374 Fixes #5374

This adds options parsing to have a user, password and tenant,
to be able to ask for a token.
This token is then used to authenticate against keystone, instead
of relying on the admin token.
Otherwise, you can still use the admin token to authenticate.
This doesn't change the existing behaviour.

Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
src/common/config_opts.h
src/rgw/rgw_swift.cc
src/rgw/rgw_swift.h