Commit Graph

12 Commits

Author SHA1 Message Date
Kefu Chai
efc0b61ba7 auth/RotatingKeyRing: use std::move() to set secrets
the param will be thrown away anyway. see
CephxClientHandler::handle_response().

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-23 15:36:14 +08:00
liuchang0812
4975d6d3d1 common/auth: add override in headers
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-28 17:22:51 +08:00
shawn
077af137de AUTH: optimize header file dependency.
same work as PR: https://github.com/ceph/ceph/pull/9193, https://github.com/ceph/ceph/pull/9161

Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2016-05-20 04:43:33 -04:00
Colin Patrick McCabe
ab75f2ab76 auth: KeyRing, RotatingKeyRing: deglobalize
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-20 16:35:18 -07:00
Colin Patrick McCabe
ed41f29ac9 remove g_keyring
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-06-03 14:47:31 -07:00
Colin Patrick McCabe
4e21db6ef9 auth: const cleanup
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-04-20 15:16:00 -07:00
Colin Patrick McCabe
21544fdc32 common: more include and copyright fixes
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-02-23 10:17:30 -08:00
Colin Patrick McCabe
431a5bf7c3 Rename config.h -> common/config.h
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-02-23 10:17:30 -08:00
Markus Elfring
f4b9d9d847 Bug #98: Unique names for include guards
A couple of preprocessor symbols for include guards tampered with the reserved namespace.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-06-17 10:47:37 -07:00
Sage Weil
2f900189bd cephx: fix up key rotation 2010-02-10 15:00:57 -08:00
Sage Weil
dfc1b1115b auth: fix KeyStore interface 2010-02-04 13:48:23 -08:00
Sage Weil
7761ad97e6 cephx: separate KeyRing and RotatingKeyRing
KeyRing stores keys (on disk).

RotatingKeyRing mediates access to the in-memory pool of rotating secrets
for a single service.
2010-02-04 10:45:42 -08:00