]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
switch monc, daemons to use new msgr2 auth frame exchange
authorSage Weil <sage@redhat.com>
Mon, 21 Jan 2019 16:22:26 +0000 (10:22 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Feb 2019 18:10:33 +0000 (12:10 -0600)
commit1d29722f801ccdfe9c4080df2f2e79ddd4379c20
tree780243d7c81a990bcaf04cf75315bf4a81b16cf7
parentc1a2d1be52062ad3a9df9ed2a2bce2e613491fd6
switch monc, daemons to use new msgr2 auth frame exchange

- MonClient implements AuthClient to authenticate as a client
- MonClient implements AuthServer to allow daemons to verify authorizers
- Monitor implements AuthServer to allow clients to authenticate with
  an exchange of msgr2 frames
- Monitor implements AuthClient to authenticate with other monitors

After this change ProtocolV1 and SimpleMessenger still use all of the
old Dispatcher-based callbacks, but ProtocolV2 doesn't need them at
all (except for ms_handle_authentication when we finish).

Signed-off-by: Sage Weil <sage@redhat.com>
src/auth/Auth.h
src/mds/MDSDaemon.cc
src/mgr/DaemonServer.cc
src/mon/AuthMonitor.h
src/mon/MonClient.cc
src/mon/MonClient.h
src/mon/Monitor.cc
src/mon/Monitor.h
src/msg/async/ProtocolV2.cc
src/msg/async/ProtocolV2.h
src/osd/OSD.cc