]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
auth: codify AUTH_MODE_AUTHORIZER
authorSage Weil <sage@redhat.com>
Sun, 20 Jan 2019 22:51:12 +0000 (16:51 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Feb 2019 12:53:03 +0000 (06:53 -0600)
commitf152b4aae181002a3a8834877e06e8db05fdf33f
tree6c68a93f6efd744c23779f3540d0ab104bb2904d
parent5bd92c29d9df45a23bd3ad1b3378120a21186b29
auth: codify AUTH_MODE_AUTHORIZER

The AuthAuthorizer encoding always begins with byte 0x01.  Codify that
as AUTH_MODE_AUTHORIZER so that we can distinguish an authorizer from
something else (e.g., an attempt to authenticate and get an initial auth
ticket with the mon).

Signed-off-by: Sage Weil <sage@redhat.com>
src/auth/Auth.h
src/auth/cephx/CephxProtocol.cc
src/auth/none/AuthNoneProtocol.h
src/auth/unknown/AuthUnknownProtocol.h