MCPcopy Create free account
hub / github.com/ceph/ceph / start_session

Method start_session

src/auth/AuthServiceHandler.cc:50–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50int AuthServiceHandler::start_session(const EntityName& entity_name,
51 uint64_t global_id,
52 bool is_new_global_id,
53 ceph::buffer::list *result,
54 AuthCapsInfo *caps)
55{
56 ceph_assert(!this->entity_name.get_type() && !this->global_id &&
57 global_id_status == global_id_status_t::NONE);
58
59 ldout(cct, 10) << __func__ << " entity_name=" << entity_name
60 << " global_id=" << global_id << " is_new_global_id="
61 << is_new_global_id << dendl;
62 this->entity_name = entity_name;
63 this->global_id = global_id;
64
65 return do_start_session(is_new_global_id, result, caps);
66}
67
68AuthServiceHandler *get_auth_service_handler(int type, CephContext *cct, KeyServer *ks)
69{

Callers 2

handle_auth_requestMethod · 0.80
prep_authMethod · 0.80

Calls 1

get_typeMethod · 0.45

Tested by

no test coverage detected