MCPcopy Create free account
hub / github.com/apache/impala / GetLoggedInUsernameFromKeytab

Function GetLoggedInUsernameFromKeytab

be/src/kudu/security/init.cc:472–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472optional<string> GetLoggedInUsernameFromKeytab() {
473 if (!g_kinit_ctx) {
474 return nullopt;
475 }
476 return g_kinit_ctx->username_str();
477}
478
479Status Krb5ParseName(const string& principal, string* service_name,
480 string* hostname, string* realm) {

Callers 1

AuthorizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected