| 106 | } |
| 107 | |
| 108 | Status GetInternalKerberosPrincipal(string* out_principal) { |
| 109 | DCHECK(IsKerberosEnabled()); |
| 110 | |
| 111 | *out_principal = !FLAGS_be_principal.empty() ? FLAGS_be_principal : FLAGS_principal; |
| 112 | DCHECK(!out_principal->empty()); |
| 113 | RETURN_IF_ERROR(ReplacePrincipalHostFormat(out_principal)); |
| 114 | return Status::OK(); |
| 115 | } |
| 116 | |
| 117 | Status ParseKerberosPrincipal(const string& principal, string* service_name, |
| 118 | string* hostname, string* realm) { |
no test coverage detected