]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
auth/AuthClientHandler: add build_initial_request hook
authorSage Weil <sage@redhat.com>
Sun, 20 Jan 2019 23:06:23 +0000 (17:06 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Feb 2019 12:53:03 +0000 (06:53 -0600)
commitee2e31b244e4ae355401b20274e1deecf6268f17
tree8cab19c7cf6d556990b68f78869c5b27c132cdc2
parentd0dc20ed9af006e2054de7cc622a3eedff1200c3
auth/AuthClientHandler: add build_initial_request hook

With msgr2 the initial kickoff of an authentication handshake is client ->
server, while with msgr1 it was server -> client.  So existing
implementations have an empty initial message (outside of the messenger's
envelope).  Future auth implementations that are msgr2 only (e.g., krb)
may want to make use of this initial payload.

Signed-off-by: Sage Weil <sage@redhat.com>
src/auth/AuthClientHandler.h