]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
doc/dev/cephx_protocol: fix couple errors 23750/head
authorKefu Chai <kchai@redhat.com>
Mon, 27 Aug 2018 09:41:16 +0000 (17:41 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 27 Aug 2018 09:50:54 +0000 (17:50 +0800)
commitd3fcbeeba067f94c7ffa21c5d45da02da71eae56
treeffe3ebab68897fa9209bd0518f6f9f2c9cbca9ad
parentd16e5846885448dfeb670e726541b1b3a8569dd7
doc/dev/cephx_protocol: fix couple errors

there are 3 phases of authentication and authorization in cephx:

0. proto = CEPH_AUTH_UNKNOWN, for start the session,
   create auth handlers on both sides.
1. GET_AUTH_SESSION_KEY, to get authenticated, the client will
   get the session ticket at the end of this phase. the session ticket,
   is actually also a service ticket for CEPH_ENTITY_TYPE_AUTH.
2. CEPHX_GET_PRINCIPAL_SESSION_KEY, to get authorized, the client
   will get the requested, service tickets at the end of this phase.

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/dev/cephx_protocol.rst