| 48 | } |
| 49 | |
| 50 | int 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 | |
| 68 | AuthServiceHandler *get_auth_service_handler(int type, CephContext *cct, KeyServer *ks) |
| 69 | { |
no test coverage detected