need_challenge = HAVE_FEATURE(connect.features, CEPHX_V2);
had_challenge = (bool)authorizer_challenge;
authorizer_reply.clear();
- if (!msgr->verify_authorizer(
+ if (!msgr->ms_deliver_verify_authorizer(
connection_state.get(), peer_type, connect.authorizer_protocol, authorizer,
authorizer_reply, authorizer_valid, session_key,
need_challenge ? &authorizer_challenge : nullptr) ||
-bool SimpleMessenger::verify_authorizer(Connection *con, int peer_type,
- int protocol, bufferlist& authorizer, bufferlist& authorizer_reply,
- bool& isvalid,CryptoKey& session_key,
- std::unique_ptr<AuthAuthorizerChallenge> *challenge)
-{
- return ms_deliver_verify_authorizer(con, peer_type, protocol, authorizer, authorizer_reply,
- isvalid, session_key,
- challenge);
-}
-
ConnectionRef SimpleMessenger::connect_to(int type,
const entity_addrvec_t& addrs)
{
* @{
*/
- /**
- * This wraps ms_deliver_verify_authorizer; we use it for Pipe.
- */
- bool verify_authorizer(Connection *con, int peer_type, int protocol, bufferlist& auth,
- bufferlist& auth_reply,
- bool& isvalid,CryptoKey& session_key,
- std::unique_ptr<AuthAuthorizerChallenge> *challenge);
/**
* Increment the global sequence for this SimpleMessenger and return it.
* This is for the connect protocol, although it doesn't hurt if somebody