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

Function get_auth_service_handler

src/auth/AuthServiceHandler.cc:68–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68AuthServiceHandler *get_auth_service_handler(int type, CephContext *cct, KeyServer *ks)
69{
70 switch (type) {
71 case CEPH_AUTH_CEPHX:
72 return new CephxServiceHandler(cct, ks);
73 case CEPH_AUTH_NONE:
74 return new AuthNoneServiceHandler(cct);
75#ifdef HAVE_GSSAPI
76 case CEPH_AUTH_GSS:
77 return new KrbServiceHandler(cct, ks);
78#endif
79 default:
80 return nullptr;
81 }
82}

Callers 2

handle_auth_requestMethod · 0.85
prep_authMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected